selected.clear();
}
if (!selected.add(item) && !modified) return;
lastSelected = item;
}
<BUG>if (fireChangeEvent()) revert();
cleanup();
}</BUG>
public boolean hasItems () {
return selected.size > 0;

selected.clear();
}
if (!selected.add(item) && !modified) return;
lastSelected = item;
}
if (fireChangeEvent()) revert();
} finally {
cleanup();
}
}
public boolean hasItems () {
return selected.size > 0;
