Correct return type for function

This commit is contained in:
Randall Hauch 2016-01-25 13:41:38 -06:00
parent ed36e25861
commit 5e4c428285

View File

@ -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;