Fix one bit of pointless indentation
authorMark Slee <mcslee@Mark-Slees-MacBook-Pro.local>
Wed, 12 Jun 2013 02:33:33 +0000 (19:33 -0700)
committerMark Slee <mcslee@Mark-Slees-MacBook-Pro.local>
Wed, 12 Jun 2013 02:33:33 +0000 (19:33 -0700)
_PandaDriver.pde

index 7fd45c0acc8134d699e25a7293963c47e5129f4b..28701e9bde957e395a70364d46f42a0aa29b3925 100644 (file)
@@ -70,12 +70,11 @@ public class PandaDriver {
       Cube cube = model.getCubeByRawIndex(cubeNumber);
       if (cube == null) {
         throw new RuntimeException("Non-existing cube specified in flipped RGB mapping (" + cubeNumber + ")");
-      } else {
-        for (int i = 1; i < cubeInfo.length; ++i) {
-          int stripIndex = cubeInfo[i];
-          for (Point p : cube.strips.get(stripIndex-1).points) {
-            flipped[p.index] = true;
-          }
+      }
+      for (int i = 1; i < cubeInfo.length; ++i) {
+        int stripIndex = cubeInfo[i];
+        for (Point p : cube.strips.get(stripIndex-1).points) {
+          flipped[p.index] = true;
         }
       }
     }