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