diff options
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 } |