Use Map interface instead of HashMap.

The diamond syntax <> is a Java 7 feature. It reduces some of
the verbosity of using generics.

Example:
Map<String> foo = new HashMap<String>();

is equivalent to

Map<String> foo = new HashMap<>();
Replace array literal