From: Mark Slee Date: Wed, 12 Jun 2013 02:33:33 +0000 (-0700) Subject: Fix one bit of pointless indentation X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6e6c0f0f00ee15deaf549cc8db16638142fca7a8;p=SugarCubes.git Fix one bit of pointless indentation --- diff --git a/_PandaDriver.pde b/_PandaDriver.pde index 7fd45c0..28701e9 100644 --- a/_PandaDriver.pde +++ b/_PandaDriver.pde @@ -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; } } }