Skip to content

Commit 104f3bb

Browse files
committed
Minimum reasonable map size should be 4, not 2
1 parent 161c05f commit 104f3bb

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/java/com/github/jsonldjava/utils

1 file changed

+1
-1
lines changed

core/src/main/java/com/github/jsonldjava/utils/Obj.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Obj {
1111
* @return A new {@link Map} instance.
1212
*/
1313
public static Map<String, Object> newMap() {
14-
return new LinkedHashMap<String, Object>(2, 0.75f);
14+
return new LinkedHashMap<String, Object>(4, 0.75f);
1515
}
1616

1717
/**

0 commit comments

Comments
 (0)