Removed Extra Grids Based on API Change.

This commit is contained in:
AlgorithmX2
2014-02-04 10:11:29 -06:00
parent dc754b4989
commit aed1c9b82c
9 changed files with 52 additions and 44 deletions
+3 -3
View File
@@ -64,7 +64,7 @@ public class Grid implements IGrid
public void remove(GridNode gridNode)
{
for (IGridCache c : caches.values())
c.removeNode( this, gridNode, gridNode.getMachine() );
c.removeNode( gridNode, gridNode.getMachine() );
Collection<IGridNode> nodes = Machines.get( gridNode.getMachineClass() );
if ( nodes != null )
@@ -143,7 +143,7 @@ public class Grid implements IGrid
nodes.add( gridNode );
for (IGridCache c : caches.values())
c.addNode( this, gridNode, gridNode.getMachine() );
c.addNode( gridNode, gridNode.getMachine() );
gridNode.gridProxy.gridChanged();
// postEventTo( gridNode, networkChanged );
@@ -198,7 +198,7 @@ public class Grid implements IGrid
{
for (IGridCache gc : caches.values())
{
gc.onUpdateTick( this );
gc.onUpdateTick();
}
}