Skip to content

Commit

Permalink
Remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaupe committed Apr 28, 2020
1 parent d61a4a6 commit a9efedf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ public void testPositionFromWhichAllVarsAreBound_joinedNonGround() {

private RuleGroundingOrders computeGroundingOrdersForRule(Program program, int ruleIndex) {
Rule rule = program.getRules().get(ruleIndex);
final NonGroundRule nonGroundRule1 = NonGroundRule.constructNonGroundRule(rule);
NonGroundRule nonGroundRule = nonGroundRule1;
final NonGroundRule nonGroundRule = NonGroundRule.constructNonGroundRule(rule);
RuleGroundingOrders rgo = new RuleGroundingOrders(nonGroundRule);
rgo.computeGroundingOrders();
return rgo;
Expand Down

0 comments on commit a9efedf

Please sign in to comment.