mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cosmetics
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user