cosmetics

This commit is contained in:
Eugene Zhuravlev
2012-06-27 17:16:36 +02:00
parent 13780dbaf5
commit f76cd1bf64
2 changed files with 2 additions and 2 deletions
@@ -83,7 +83,7 @@ class IntObjectPersistentMultiMaplet<V extends Streamable> extends IntObjectMult
public void replace(int key, Collection<V> value) {
try {
myCache.remove(key);
if (value == null || value.size() == 0) {
if (value == null || value.isEmpty()) {
myMap.remove(key);
}
else {
@@ -55,7 +55,7 @@ class IntObjectTransientMultiMaplet<V extends Streamable> extends IntObjectMulti
@Override
public void replace(int key, Collection<V> value) {
if (value == null || value.size() == 0) {
if (value == null || value.isEmpty()) {
myMap.remove(key);
}
else {