Skip to content

Commit 8c363b4

Browse files
committed
Simplify REMOVED_OBJECT
1 parent 7158bb0 commit 8c363b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/vlsi/utils/CompactHashMapClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class CompactHashMapClass<K, V> {
3838

3939
// This value is used as a marker of deleted object
4040
// "new String" is required to avoid clashing with regular strings
41-
public static final String[] REMOVED_OBJECT = new String[]{"Non existing mapping value"};
41+
public static final String REMOVED_OBJECT = new String("Non existing mapping value");
4242

4343
public CompactHashMapClass(com.github.andrewoma.dexx.collection.Map<K, Integer> key2slot, Map<K, V> defaultValues, CompactHashMapClassEmptyDefaults<K, V> mapWithEmptyDefaults) {
4444
this.key2slot = key2slot;

0 commit comments

Comments
 (0)