Update MoveListStrategy.java
This commit is contained in:
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()) {
|
||||
|
|
Loading…
Reference in New Issue