OSDN Git Service

remove unnecessary code
authorYuta Kawabe <yuyu3165@gmail>
Mon, 12 Nov 2012 06:46:34 +0000 (15:46 +0900)
committerYuta Kawabe <yuyu3165@gmail>
Mon, 12 Nov 2012 06:46:34 +0000 (15:46 +0900)
ECC_evenodd/src/jp/ac/titech/sharp4k/cuten/sampletask/MatrixView.java

index 77696f0..d8a2e32 100644 (file)
@@ -104,13 +104,6 @@ public class MatrixView extends View {
                canvas.drawLine(width * col, height * (row + 1), width * (col + 1),
                                height * (row + 1), cline);
 
-               /*
-                * // selRects Paint selected = new Paint();
-                * selected.setColor(Color.CYAN); for (Pair<Integer, Integer> i :
-                * uAnswer) { canvas.drawRect(i.second * width, i.first * height,
-                * i.second width + width, i.first * height + height, selected); }
-                */
-
                // bits
                Paint foreground = new Paint(Paint.ANTI_ALIAS_FLAG);
                foreground.setColor(Color.GRAY);
@@ -151,11 +144,6 @@ public class MatrixView extends View {
                        if (check == opcol.length) {
                                return true;
                        }
-                       /*
-                        * // add user answer and inverse bit Pair<Integer, Integer> tmpAns
-                        * = new Pair<Integer, Integer>(selY, selX); if
-                        * (!uAnswer.remove(tmpAns)) { uAnswer.add(tmpAns); }
-                        */
                        if (bits[selY - 1][selX - 1].equals("0")) {
                                bits[selY - 1][selX - 1] = "1";
                        } else {