Update MoveListStrategy.java

This commit is contained in:
romanschenk37
2022-03-22 18:31:15 +01:00
committed by GitHub Enterprise
parent eddf9d3daa
commit c59e4a30d8
@@ -20,7 +20,7 @@ public class MoveListStrategy implements MoveStrategy {
readFile(new File(path));
}
protected void readFile(File trackFile) throws FileNotFoundException {
private void readFile(File trackFile) throws FileNotFoundException {
Scanner scanner = new Scanner(new FileInputStream(trackFile), "UTF-8");
Direction[] directions = Direction.values();
while (scanner.hasNextLine()) {