Skip to content

Commit

Permalink
Automated Java code formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram28 committed Apr 2, 2024
1 parent e6ff803 commit 59e4b81
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import edu.rpi.legup.puzzle.lightup.LightUpBoard;
import edu.rpi.legup.puzzle.lightup.LightUpCell;
import edu.rpi.legup.puzzle.lightup.LightUpCellType;
import edu.rpi.legup.puzzle.lightup.rules.FinishWithBulbsDirectRule;
import java.awt.*;
import java.util.ArrayList;
import java.util.Iterator;
Expand Down Expand Up @@ -210,8 +209,7 @@ public String checkRuleRaw(TreeTransition transition) {
return null;
}
return super.getInvalidUseOfRuleMessage();
}
else if (cases.size() == childTransitions.size() && cases.size() > 1) {
} else if (cases.size() == childTransitions.size() && cases.size() > 1) {
boolean foundSpot = true;
for (TreeTransition childTrans : childTransitions) {
LightUpBoard actCase = (LightUpBoard) childTrans.getBoard();
Expand All @@ -228,7 +226,7 @@ else if (cases.size() == childTransitions.size() && cases.size() > 1) {
LightUpCell posCell = (LightUpCell) posEle;
if (actCell.getType() == posCell.getType()
&& actCell.getLocation()
.equals(posCell.getLocation())) {
.equals(posCell.getLocation())) {
foundCell = true;
break;
}
Expand Down

0 comments on commit 59e4b81

Please sign in to comment.