summaryrefslogtreecommitdiff
path: root/cli/source
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-10-16 17:45:17 -0600
committerRocky Madden <git@rockymadden.com>2012-10-16 17:45:17 -0600
commit2d0dd08d02cf5eac514cfe0d2201baaa79e38a2d (patch)
tree990adfbcd4b6780dc7cdfa2da354dea86c81da33 /cli/source
parent0e518cc26b352f82e9025da9a2480b5913d5d5c2 (diff)
downloadstringmetric-2d0dd08d02cf5eac514cfe0d2201baaa79e38a2d.tar.gz
stringmetric-2d0dd08d02cf5eac514cfe0d2201baaa79e38a2d.tar.bz2
stringmetric-2d0dd08d02cf5eac514cfe0d2201baaa79e38a2d.zip
Fixed formatting.
Diffstat (limited to 'cli/source')
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala7
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala7
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala7
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala7
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala7
5 files changed, 20 insertions, 15 deletions
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala
index 9e8dcfc..9428bc2 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/hammingMetric.scala
@@ -48,9 +48,10 @@ object hammingMetric extends Command {
val strings = options('dashless).split(" ")
println(
- HammingMetric.compare(strings(0),
- strings(1))(new StringCleanerDelegate with CaseStringCleaner
- ).getOrElse("not comparable").toString
+ HammingMetric.compare(
+ strings(0),
+ strings(1)
+ )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString
)
}
} \ No newline at end of file
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala
index 51a4958..922e285 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala
@@ -48,9 +48,10 @@ object jaroMetric extends Command {
val strings = options('dashless).split(" ")
println(
- JaroMetric.compare(strings(0),
- strings(1))(new StringCleanerDelegate with CaseStringCleaner
- ).getOrElse("not comparable").toString
+ JaroMetric.compare(
+ strings(0),
+ strings(1)
+ )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString
)
}
} \ No newline at end of file
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala
index af633ae..6509cc4 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala
@@ -48,9 +48,10 @@ object jaroWinklerMetric extends Command {
val strings = options('dashless).split(" ")
println(
- JaroWinklerMetric.compare(strings(0),
- strings(1))(new StringCleanerDelegate with CaseStringCleaner
- ).getOrElse("not comparable").toString
+ JaroWinklerMetric.compare(
+ strings(0),
+ strings(1)
+ )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString
)
}
} \ No newline at end of file
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala
index 5a2d2d6..59a73e8 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/levenshteinMetric.scala
@@ -49,9 +49,10 @@ object levenshteinMetric extends Command {
val strings = options('dashless).split(" ")
println(
- LevenshteinMetric.compare(strings(0),
- strings(1))(new StringCleanerDelegate with CaseStringCleaner
- ).getOrElse("not comparable").toString
+ LevenshteinMetric.compare(
+ strings(0),
+ strings(1)
+ )(new StringCleanerDelegate with CaseStringCleaner).getOrElse("not comparable").toString
)
}
} \ No newline at end of file
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala
index f0b204e..cb119c2 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/command/soundexMetric.scala
@@ -48,9 +48,10 @@ object soundexMetric extends Command {
val strings = options('dashless).split(" ")
println(
- SoundexMetric.compare(strings(0),
- strings(1))(new StringCleanerDelegate
- ).getOrElse("not comparable").toString
+ SoundexMetric.compare(
+ strings(0),
+ strings(1)
+ )(new StringCleanerDelegate).getOrElse("not comparable").toString
)
}
} \ No newline at end of file