Skip to content

Commit

Permalink
Make equally named putEdge() method adjacent
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=283987870
  • Loading branch information
nymanjens authored and cgdecker committed Dec 6, 2019
1 parent 6a6e542 commit b54558e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ public abstract class AbstractGraphTest {
@CanIgnoreReturnValue
abstract boolean putEdge(Integer n1, Integer n2);

final boolean graphIsMutable() {
return graphAsMutableGraph != null;
}

@CanIgnoreReturnValue
final boolean putEdge(EndpointPair<Integer> endpoints) {
return putEdge(endpoints.nodeU(), endpoints.nodeV());
}

final boolean graphIsMutable() {
return graphAsMutableGraph != null;
}

@Before
public final void init() {
graph = createGraph();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ public abstract class AbstractGraphTest {
@CanIgnoreReturnValue
abstract boolean putEdge(Integer n1, Integer n2);

final boolean graphIsMutable() {
return graphAsMutableGraph != null;
}

@CanIgnoreReturnValue
final boolean putEdge(EndpointPair<Integer> endpoints) {
return putEdge(endpoints.nodeU(), endpoints.nodeV());
}

final boolean graphIsMutable() {
return graphAsMutableGraph != null;
}

@Before
public final void init() {
graph = createGraph();
Expand Down

0 comments on commit b54558e

Please sign in to comment.