summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-11-02 07:36:55 -0600
committerRocky Madden <git@rockymadden.com>2012-11-02 07:36:55 -0600
commit396c6b81417b5de5dfe7be5e16ba5660b7912144 (patch)
tree6d317ac41b832dfdc511a6dd8656b6132b3ea7f3 /core
parent8040323a5bf392b054283da856404a4e45ad150d (diff)
downloadstringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.tar.gz
stringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.tar.bz2
stringmetric-396c6b81417b5de5dfe7be5e16ba5660b7912144.zip
Fixed variable names.
Diffstat (limited to 'core')
-rwxr-xr-xcore/source/core/scala/org/hashtree/stringmetric/phonetic/NysiisAlgorithm.scala2
-rwxr-xr-xcore/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedSoundexAlgorithm.scala2
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
}