Replaces all method parameter regarding their naming conventions

This commit is contained in:
thatsIch
2015-05-08 23:25:19 +02:00
parent a44369a272
commit f193c2adc4
76 changed files with 381 additions and 381 deletions
+3 -3
View File
@@ -245,15 +245,15 @@ public class GridStorageCache implements IStorageGrid
tracker.applyChanges();
}
private void postChangesToNetwork( StorageChannel chan, int up_or_down, IItemList availableItems, BaseActionSource src )
private void postChangesToNetwork( StorageChannel chan, int upOrDown, IItemList availableItems, BaseActionSource src )
{
switch( chan )
{
case FLUIDS:
this.fluidMonitor.postChange( up_or_down > 0, availableItems, src );
this.fluidMonitor.postChange( upOrDown > 0, availableItems, src );
break;
case ITEMS:
this.itemMonitor.postChange( up_or_down > 0, availableItems, src );
this.itemMonitor.postChange( upOrDown > 0, availableItems, src );
break;
default:
}
+2 -2
View File
@@ -101,7 +101,7 @@ public class NetworkMonitor<T extends IAEStack<T>> extends MEMonitorHandler<T>
this.postChange( true, changes, src );
}
protected void postChange( boolean Add, Iterable<T> changes, BaseActionSource src )
protected void postChange( boolean add, Iterable<T> changes, BaseActionSource src )
{
if( DEPTH.contains( this ) )
{
@@ -119,7 +119,7 @@ public class NetworkMonitor<T extends IAEStack<T>> extends MEMonitorHandler<T>
{
T difference = changedItem;
if( !Add && changedItem != null )
if( !add && changedItem != null )
{
( difference = changedItem.copy() ).setStackSize( -changedItem.getStackSize() );
}
+2 -2
View File
@@ -184,7 +184,7 @@ public class P2PCache implements IGridCache
}
}
public void updateFreq( PartP2PTunnel t, long NewFreq )
public void updateFreq( PartP2PTunnel t, long newFrequency )
{
if( this.outputs.containsValue( t ) )
{
@@ -196,7 +196,7 @@ public class P2PCache implements IGridCache
this.inputs.remove( t.freq );
}
t.freq = NewFreq;
t.freq = newFrequency;
if( t.output )
{