From 2d0dd08d02cf5eac514cfe0d2201baaa79e38a2d Mon Sep 17 00:00:00 2001 From: Rocky Madden Date: Tue, 16 Oct 2012 17:45:17 -0600 Subject: Fixed formatting. --- .../org/hashtree/stringmetric/cli/command/hammingMetric.scala | 7 ++++--- .../scala/org/hashtree/stringmetric/cli/command/jaroMetric.scala | 7 ++++--- .../org/hashtree/stringmetric/cli/command/jaroWinklerMetric.scala | 7 ++++--- .../org/hashtree/stringmetric/cli/command/levenshteinMetric.scala | 7 ++++--- .../org/hashtree/stringmetric/cli/command/soundexMetric.scala | 7 ++++--- 5 files changed, 20 insertions(+), 15 deletions(-) (limited to 'cli/source') 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 -- cgit v1.2.3