Fixes a severe bug caused by trying to simplify GateLayout's saveLayout method
This commit is contained in:
parent
982d8abf65
commit
ac045fa7db
@ -107,7 +107,9 @@ public class GateLayout {
|
|||||||
*/
|
*/
|
||||||
public void saveLayout(BufferedWriter bufferedWriter) throws IOException {
|
public void saveLayout(BufferedWriter bufferedWriter) throws IOException {
|
||||||
for (Character[] line : this.layout) {
|
for (Character[] line : this.layout) {
|
||||||
bufferedWriter.append(Arrays.toString(line));
|
for (Character character : line) {
|
||||||
|
bufferedWriter.append(character);
|
||||||
|
}
|
||||||
bufferedWriter.newLine();
|
bufferedWriter.newLine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user