diff options
author | Rocky Madden <git@rockymadden.com> | 2012-10-20 15:14:32 -0600 |
---|---|---|
committer | Rocky Madden <git@rockymadden.com> | 2012-10-20 15:14:32 -0600 |
commit | 153741654bc2186f91d59261715cb9b58340f09a (patch) | |
tree | 898f3b785180d345eb5eff61acee06fe07a317dc /cli | |
parent | 0d6679e72d7dd284ab3edeeb7f1e1ae109cdacc9 (diff) | |
download | stringmetric-153741654bc2186f91d59261715cb9b58340f09a.tar.gz stringmetric-153741654bc2186f91d59261715cb9b58340f09a.tar.bz2 stringmetric-153741654bc2186f91d59261715cb9b58340f09a.zip |
Favored companion empty invokation over class empty constructor.
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/source/core/scala/org/hashtree/stringmetric/cli/OptionMapUtility.scala | 2 |
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 |