remove unneeded check...

This commit is contained in:
Shay Banon 2013-11-01 19:44:03 +01:00
parent afa0ab6226
commit 633e781204
1 changed files with 1 additions and 6 deletions

View File

@ -145,12 +145,7 @@ public final class ImmutableOpenMap<KType, VType> implements Iterable<ObjectObje
}
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();
}
/**