Skip to content

Commit

Permalink
Mark more things as split factories
Browse files Browse the repository at this point in the history
  • Loading branch information
katre committed Mar 26, 2019
1 parent fdb9cf9 commit 5702061
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ public SplitTransition create(RuleTransitionData data) {
starlarkDefinedConfigTransition, (ConfiguredAttributeMapper) attributeMap);
}

@Override
public boolean isSplit() {
return true;
}

@Override
public void repr(SkylarkPrinter printer) {
printer.append("<transition object>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ public SplitTransition create(RuleTransitionData data) {
return ImmutableList.of(newOptions);
};
}

@Override
public boolean isSplit() {
return true;
}
}));

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,11 @@ private static class TestSplitTransitionProvider
public SplitTransition create(RuleTransitionData data) {
return new TestSplitTransition();
}

@Override
public boolean isSplit() {
return true;
}
}

@Test
Expand Down

0 comments on commit 5702061

Please sign in to comment.