diff --git a/Percolation/Percolation.java b/Percolation/Percolation.java index de26177..623f912 100644 --- a/Percolation/Percolation.java +++ b/Percolation/Percolation.java @@ -137,14 +137,6 @@ public void open(int row, int col) { } } - /* - public void connecting(int row, int col) { - if (row > size || col > size || row <= 0 || col <= 0) { - throw new java.lang.IndexOutOfBoundsException(); - } - } - */ - // is the site (row, col) open? public boolean isOpen(int row, int col) { if (row > size || col > size || row <= 0 || col <= 0) { @@ -191,6 +183,7 @@ public boolean percolates() { return false; } + //for test /* public void print() { StringBuilder builder = new StringBuilder();