Simplified some control flow statements

This commit is contained in:
thatsIch
2014-10-09 21:33:31 +02:00
parent 6bc002fe63
commit 011ff54224
33 changed files with 64 additions and 78 deletions
@@ -219,7 +219,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
for (TileCraftingTile r : tiles)
{
IGridNode n = r.getActionableNode();
if ( n != null && posted == false )
if ( n != null && !posted )
{
IGrid g = n.getGrid();
if ( g != null )
@@ -559,7 +559,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
usedOps[1] = usedOps[0];
usedOps[0] = started - remainingOperations;
if ( remainingOperations > 0 && somethingChanged == false )
if ( remainingOperations > 0 && !somethingChanged )
waiting = true;
}