6:5bab2e971333 | 7:2c0a2766461c |
---|---|
74 } | 74 } |
75 if (row != 9) { | 75 if (row != 9) { |
76 throw new IOException("Kein Sudoku-Feld enthalten!"); | 76 throw new IOException("Kein Sudoku-Feld enthalten!"); |
77 } | 77 } |
78 } | 78 } |
79 field.setAllCellsModified(false); | |
79 } | 80 } |
80 | 81 |
81 public void save(Field field) throws IOException { | 82 public void save(Field field) throws IOException { |
82 if (!isFilenameSet()) { | 83 if (!isFilenameSet()) { |
83 throw new IOException("no filename supplied"); | 84 throw new IOException("no filename supplied"); |