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 )
{
@@ -26,6 +26,9 @@ import java.util.LinkedList;
import java.util.Map;
import java.util.Map.Entry;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -35,9 +38,6 @@ import net.minecraft.world.WorldServer;
import cpw.mods.fml.common.FMLCommonHandler;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import appeng.api.AEApi;
import appeng.api.config.Actionable;
import appeng.api.config.FuzzyMode;
@@ -109,10 +109,10 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
private int remainingOperations;
private boolean somethingChanged;
public CraftingCPUCluster( WorldCoord _min, WorldCoord _max )
public CraftingCPUCluster( WorldCoord min, WorldCoord max )
{
this.min = _min;
this.max = _max;
this.min = min;
this.max = max;
}
/**
@@ -59,10 +59,10 @@ public class QuantumCluster implements ILocatable, IAECluster
private long otherSide;
private TileQuantumBridge center;
public QuantumCluster( WorldCoord _min, WorldCoord _max )
public QuantumCluster( WorldCoord min, WorldCoord max )
{
this.min = _min;
this.max = _max;
this.min = min;
this.max = max;
this.Ring = new TileQuantumBridge[8];
}
@@ -42,10 +42,10 @@ public class SpatialPylonCluster implements IAECluster
public boolean hasPower;
public boolean hasChannel;
public SpatialPylonCluster( DimensionalCoord _min, DimensionalCoord _max )
public SpatialPylonCluster( DimensionalCoord min, DimensionalCoord max )
{
this.min = _min.copy();
this.max = _max.copy();
this.min = min.copy();
this.max = max.copy();
if( this.min.x != this.max.x )
{
@@ -180,9 +180,9 @@ public class CellInventory implements ICellInventory
return false;
}
public static void addBasicBlackList( int itemID, int Meta )
public static void addBasicBlackList( int itemID, int meta )
{
BLACK_LIST.add( ( Meta << Platform.DEF_OFFSET ) | itemID );
BLACK_LIST.add( ( meta << Platform.DEF_OFFSET ) | itemID );
}
public static boolean isBlackListed( IAEItemStack input )