diff options
author | Rocky Madden <git@rockymadden.com> | 2012-11-18 19:38:22 -0700 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2012-11-18 19:38:22 -0700 |
commit | 51a58aa5d93c54502e1d640fa02339bf88c399b5 (patch) | |
tree | 6b0f33ab704e5d477b32efb46aa17e5f3c7af839 /core | |
parent | 72dfa5ebe75b707f192cbe65c23393d08dbd8f8a (diff) | |
download | stringmetric-51a58aa5d93c54502e1d640fa02339bf88c399b5.tar.gz stringmetric-51a58aa5d93c54502e1d640fa02339bf88c399b5.tar.bz2 stringmetric-51a58aa5d93c54502e1d640fa02339bf88c399b5.zip |
Removed unneeded parens.
Diffstat (limited to 'core')
-rwxr-xr-x | core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedNysiisAlgorithm.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedNysiisAlgorithm.scala b/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedNysiisAlgorithm.scala index 61393ec..bbb55d0 100755 --- a/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedNysiisAlgorithm.scala +++ b/core/source/core/scala/org/hashtree/stringmetric/phonetic/RefinedNysiisAlgorithm.scala @@ -110,7 +110,7 @@ object RefinedNysiisAlgorithm extends StringAlgorithm with FilterableStringAlgor if (ca.length == 0) ca else ca.head match { - case 'm' if (ca.length >= 3 && (ca(1) == 'a' && ca(2) == 'c')) => Array('m', 'c') ++ ca.takeRight(ca.length - 3) + case 'm' if (ca.length >= 3 && ca(1) == 'a' && ca(2) == 'c') => Array('m', 'c') ++ ca.takeRight(ca.length - 3) case 'p' if (ca.length >= 2 && ca(1) == 'f') => 'f' +: ca.takeRight(ca.length - 2) case _ => ca } |