BAEL-5351: Moved to core-java-collections-4

This commit is contained in:
Mayank Agarwal
2022-02-13 16:43:59 +05:30
parent 9db7699059
commit 3110bc8c6d
2 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package com.baeldung.map.initialize;
package com.baeldung.maps.initialize;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Maps;
@@ -33,7 +33,8 @@ public class EmptyMapInitializer {
}
public Map createGenericEmptyMapUsingMapsObject() {
return Maps.<String, Integer>newHashMap();
Map genericEmptyMap = Maps.<String, Integer>newHashMap();
return genericEmptyMap;
}
public static Map<String, String> createMapUsingGuava() {