Skip to content

Commit

Permalink
fix white space
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii21th committed May 29, 2024
1 parent d434321 commit a6e42e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/core/basesyntax/RobotRoute.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void moveRobot(Robot robot, int toX, int toY) {
}

private void changeCurrentPosition(Robot robot, Direction direction) {
while (robot.getDirection() != direction) {
while (robot.getDirection() != direction) {
robot.turnRight();
}
}
Expand Down

0 comments on commit a6e42e7

Please sign in to comment.