remove unneeded check...
This commit is contained in:
parent
afa0ab6226
commit
633e781204
|
@ -145,12 +145,7 @@ public final class ImmutableOpenMap<KType, VType> implements Iterable<ObjectObje
|
||||||
}
|
}
|
||||||
|
|
||||||
public Builder(ImmutableOpenMap<KType, VType> map) {
|
public Builder(ImmutableOpenMap<KType, VType> map) {
|
||||||
if (map == EMPTY) {
|
this.map = map.map.clone();
|
||||||
// create a new instance if this is the shared EMPTY one
|
|
||||||
this.map = new ObjectObjectOpenHashMap<KType, VType>();
|
|
||||||
} else {
|
|
||||||
this.map = map.map.clone();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue