Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -48,7 +48,7 @@ public class GridNodeCollection implements IReadOnlyCollection<IGridNode>
{
int size = 0;
for ( Set<IGridNode> o : this.machines.values() )
for( Set<IGridNode> o : this.machines.values() )
size += o.size();
return size;
@@ -57,8 +57,8 @@ public class GridNodeCollection implements IReadOnlyCollection<IGridNode>
@Override
public boolean isEmpty()
{
for ( Set<IGridNode> o : this.machines.values() )
if ( !o.isEmpty() )
for( Set<IGridNode> o : this.machines.values() )
if( !o.isEmpty() )
return false;
return true;
@@ -69,9 +69,9 @@ public class GridNodeCollection implements IReadOnlyCollection<IGridNode>
{
final boolean doesContainNode;
if ( maybeGridNode instanceof IGridNode )
if( maybeGridNode instanceof IGridNode )
{
final IGridNode node = ( IGridNode ) maybeGridNode;
final IGridNode node = (IGridNode) maybeGridNode;
IGridHost machine = node.getMachine();
Class<? extends IGridHost> machineClass = machine.getClass();