BAEL-5351: Moved to core-java-collections-4
This commit is contained in:
parent
b35d0ea7c4
commit
7995f7d7c5
|
@ -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() {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.map.initialize;
|
||||
package com.baeldung.maps.initialize;
|
||||
|
||||
import java.util.Map;
|
||||
import org.junit.Test;
|
Loading…
Reference in New Issue