Skip to content

Commit

Permalink
Switch from using Iterable to Collection in the return type to be mor…
Browse files Browse the repository at this point in the history
…e explicit.

PiperOrigin-RevId: 169278760
  • Loading branch information
shreyax authored and laszlocsomor committed Sep 20, 2017
1 parent 2573540 commit 446f0ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,14 @@ public synchronized void removeInProgressReverseDep(SkyKey reverseDep) {
}

@Override
public synchronized Iterable<SkyKey> getReverseDepsForDoneEntry() {
public synchronized Set<SkyKey> getReverseDepsForDoneEntry() {
assertKeepEdges();
Preconditions.checkState(isDone(), "Called on not done %s", this);
return ReverseDepsUtility.getReverseDeps(this);
}

@Override
public synchronized Iterable<SkyKey> getAllReverseDepsForNodeBeingDeleted() {
public synchronized Set<SkyKey> getAllReverseDepsForNodeBeingDeleted() {
assertKeepEdges();
if (!isDone()) {
// This consolidation loses information about pending reverse deps to signal, but that is
Expand Down

0 comments on commit 446f0ba

Please sign in to comment.