From 6e6c0f0f00ee15deaf549cc8db16638142fca7a8 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Tue, 11 Jun 2013 19:33:33 -0700 Subject: [PATCH] Fix one bit of pointless indentation --- _PandaDriver.pde | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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; } } } -- 2.34.1