Normalize code and fix saveToTextFile

* Normalize spaces and blank lines according to Java Code Conventions
  from Java SE 8
* Wrap code to 80 characters per line (Java Code Conventions for Java SE
  8)
* Fix saveToTextFile() in Maze : same confusion that was fixed in bc1886ca
  for initFromTextFile() (x et y coordinates were respectively used as y
  and x)
This commit is contained in:
regar42 committed 2017-12-14 21:53:49 +01:00
1 parent c3e74a20f3
commit e8896556bc
18 files changed
+307 -322

No files matched your search

+5 -8
View File
@@ -1,16 +1,13 @@
package maze;
/**
* An <code>EBox</code> is a <code>Box</code> that can be walked through (an empty box).
* An <code>EBox</code> is a <code>Box</code>
* that can be walked through (an empty box).
*/
public class EBox extends Box{
public EBox (String label, int x, int y, Maze maze) {
super(label,x,y,maze) ;
}
public EBox (String label, int x, int y, Maze maze) {
super(label, x, y, maze);
}
}