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
@@ -18,23 +18,26 @@
package appeng.me.pathfinding;
import appeng.api.networking.IGridConnection;
import appeng.api.networking.IGridConnectionVisitor;
import appeng.api.networking.IGridNode;
import appeng.me.GridConnection;
import appeng.me.GridNode;
public class AdHocChannelUpdater implements IGridConnectionVisitor
{
final private int usedChannels;
public AdHocChannelUpdater(int used) {
public AdHocChannelUpdater( int used )
{
this.usedChannels = used;
}
@Override
public boolean visitNode(IGridNode n)
public boolean visitNode( IGridNode n )
{
GridNode gn = (GridNode) n;
gn.setControllerRoute( null, true );
@@ -44,7 +47,7 @@ public class AdHocChannelUpdater implements IGridConnectionVisitor
}
@Override
public void visitConnection(IGridConnection gcc)
public void visitConnection( IGridConnection gcc )
{
GridConnection gc = (GridConnection) gcc;
gc.setControllerRoute( null, true );