Skip to content

Commit fb23d42

Browse files
committed
Replace type specification with diamond operator
1 parent 6485d17 commit fb23d42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metafacture-html/src/main/java/org/metafacture/html/HtmlDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private boolean handleAttributeValuesAsSubfields(final StreamReceiver receiver,
131131
* @param mapString the attributes to be added as subfields
132132
*/
133133
public void setAttrValsAsSubfields(final String mapString) {
134-
this.attrValsAsSubfields = new HashMap<String, String>();
134+
this.attrValsAsSubfields = new HashMap<>();
135135
final String input = mapString.startsWith("&") ? DEFAULT_ATTR_VALS_AS_SUBFIELDS + mapString : mapString;
136136
for (final String nameValuePair : input.split("&")) {
137137
final String[] nameValue = nameValuePair.split("=");

0 commit comments

Comments
 (0)