Fixing squid:S1596,squid:LowerCaseLongSuffixCheck

This commit is contained in:
Faisal Hameed
2016-02-12 09:45:35 +05:00
parent 28045975a1
commit 06e3522d4a
2 changed files with 4 additions and 4 deletions
@@ -119,14 +119,14 @@ class AbstractChronicleMapConverter<K, V> implements Converter {
switch (reader.getNodeName()) {
case "java.util.Collections$EmptySet":
return (E) Collections.EMPTY_SET;
return (E) Collections.emptySet();
case "java.util.Collections$EmptyList":
return (E) Collections.EMPTY_LIST;
return (E) Collections.emptyList();
case "java.util.Collections$EmptyMap":
case "java.util.Collections.EmptyMap":
return (E) Collections.EMPTY_MAP;
return (E) Collections.emptyMap();
}