Skip to content
Snippets Groups Projects
Commit 08632686 authored by LABOUREL Arnaud's avatar LABOUREL Arnaud
Browse files

Ajout de final pour l'attribut grid de GridIterator.

parent 31ed353a
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ import java.util.Iterator; ...@@ -8,7 +8,7 @@ import java.util.Iterator;
public class GridIterator implements Iterator<Cell> { public class GridIterator implements Iterator<Cell> {
private int rowIndex; private int rowIndex;
private int columnIndex; private int columnIndex;
private Grid grid; private final Grid grid;
GridIterator(Grid grid) { GridIterator(Grid grid) {
this.rowIndex = 0; this.rowIndex = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment