summaryrefslogtreecommitdiff
path: root/cli/source
diff options
context:
space:
mode:
authorRocky Madden <git@rockymadden.com>2012-10-20 15:14:32 -0600
committerRocky Madden <git@rockymadden.com>2012-10-20 15:14:32 -0600
commit153741654bc2186f91d59261715cb9b58340f09a (patch)
tree898f3b785180d345eb5eff61acee06fe07a317dc /cli/source
parent0d6679e72d7dd284ab3edeeb7f1e1ae109cdacc9 (diff)
downloadstringmetric-153741654bc2186f91d59261715cb9b58340f09a.tar.gz
stringmetric-153741654bc2186f91d59261715cb9b58340f09a.tar.bz2
stringmetric-153741654bc2186f91d59261715cb9b58340f09a.zip
Favored companion empty invokation over class empty constructor.
Diffstat (limited to 'cli/source')
-rwxr-xr-xcli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala b/cli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala
index a3a0f16..cb13617 100755
--- a/cli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala
+++ b/cli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala
@@ -10,7 +10,7 @@ object OptionMapUtility {
}
def toOptionMap(arguments: List[String]): OptionMap = {
- next(new HashMap[Symbol, String](), arguments)
+ next(HashMap.empty[Symbol, String], arguments)
}
@tailrec