Correct return type for function
This commit is contained in:
parent
ed36e25861
commit
5e4c428285
@ -86,7 +86,7 @@ public int size() {
|
||||
|
||||
public Set<TableId> drainChanges() {
|
||||
return lock.write(() -> {
|
||||
if (changes.isEmpty()) return Collections.emptySet();
|
||||
if (changes.isEmpty()) return Collections.<TableId>emptySet();
|
||||
Set<TableId> result = new HashSet<>(changes);
|
||||
changes.clear();
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user