Merge pull request 'fix desezrialize' (#18) from fix into master
All checks were successful
Linux arm64 / Build (push) Successful in 37s
All checks were successful
Linux arm64 / Build (push) Successful in 37s
Reviewed-on: #18
This commit was merged in pull request #18.
This commit is contained in:
@@ -243,6 +243,9 @@ public class SudokuSerializer {
|
|||||||
|
|
||||||
Sudoku s = new Sudoku(sudokuCells, sudokuBlocks, sudokuConstraints);
|
Sudoku s = new Sudoku(sudokuCells, sudokuBlocks, sudokuConstraints);
|
||||||
s.setBlockWidth(sudokuJsonObject.getInt("blockWidth"));
|
s.setBlockWidth(sudokuJsonObject.getInt("blockWidth"));
|
||||||
|
for (Block block : s.getBlocks()) {
|
||||||
|
block.getSudokus().add(s);
|
||||||
|
}
|
||||||
sudokus.add(s);
|
sudokus.add(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user