cosmetics

This commit is contained in:
Eugene Zhuravlev
2012-06-27 17:09:08 +02:00
parent 86c594e3eb
commit 8bec59005f
2 changed files with 2 additions and 2 deletions
@@ -78,7 +78,7 @@ class IntIntPersistentMultiMaplet extends IntIntMultiMaplet {
public void replace(int key, TIntHashSet value) {
try {
myCache.remove(key);
if (value == null || value.size() == 0) {
if (value == null || value.isEmpty()) {
myMap.remove(key);
}
else {
@@ -56,7 +56,7 @@ class IntIntTransientMultiMaplet extends IntIntMultiMaplet {
@Override
public void replace(int key, TIntHashSet value) {
if (value == null || value.size() == 0) {
if (value == null || value.isEmpty()) {
myMap.remove(key);
}
else {