diff options
author | Rocky Madden <git@rockymadden.com> | 2012-11-02 07:36:55 -0600 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2012-11-02 07:36:55 -0600 |
commit | 396c6b81417b5de5dfe7be5e16ba5660b7912144 (patch) | |
tree | 6d317ac41b832dfdc511a6dd8656b6132b3ea7f3 /core | |
parent | 8040323a5bf392b054283da856404a4e45ad150d (diff) | |
download | stringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.tar.gz stringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.tar.bz2 stringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.zip |
Fixed variable names.
Diffstat (limited to 'core')
-rwxr-xr-x | core/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala | 2 | ||||
-rwxr-xr-x | core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala b/core/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala index 798a0f4..b4bf5e7 100755 --- a/core/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala +++ b/core/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala @@ -28,7 +28,7 @@ object NysiisAlgorithm extends StringAlgorithm { override def compute(string: String)(implicit stringFilter: StringFilter): Option[String] = compute(stringFilter.filter(string.toCharArray))(new StringFilterDelegate) match { - case Some(se) => Some(se.mkString) + case Some(ny) => Some(ny.mkString) case None => None } diff --git a/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala b/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala index d453206..7b50922 100755 --- a/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala +++ b/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala @@ -28,7 +28,7 @@ object RefinedSoundexAlgorithm extends StringAlgorithm { override def compute(string: String)(implicit stringFilter: StringFilter): Option[String] = compute(stringFilter.filter(string.toCharArray))(new StringFilterDelegate) match { - case Some(se) => Some(se.mkString) + case Some(rse) => Some(rse.mkString) case None => None } |