We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb72df commit 6fa24ecCopy full SHA for 6fa24ec
common/src/main/java/org/embeddedt/modernfix/util/CanonizingStringMap.java
@@ -12,7 +12,7 @@
12
* Replacement backing map for CompoundTags that interns keys.
13
*/
14
public class CanonizingStringMap<T> extends HashMap<String, T> {
15
- private static final Interner<String> KEY_INTERNER = Interners.newStrongInterner();
+ private static final Interner<String> KEY_INTERNER = Interners.newWeakInterner();
16
17
private static String intern(String key) {
18
return key != null ? KEY_INTERNER.intern(key) : null;
0 commit comments