Commits

Anonymous committed b15596e

Added brackets.

Comments (0)

Files changed (1)

HoloGraphLibrary/src/com/echo/holographlibrary/LineGraph.java

         LinePoint[] pts = new LinePoint[line.getPoints().size()];
         pts = line.getPoints().toArray(pts);
         for (LinePoint point : pts) {
-            if (point.getX() >= startX && point.getX() <= finishX)
+            if (point.getX() >= startX && point.getX() <= finishX) {
                 line.removePoint(point);
+            }
         }
         mLines.set(lineIndex, line);
         resetLimits();