Reduce scope of variables
This commit is contained in:
@@ -1290,12 +1290,12 @@ public final class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
this.lastTime = System.nanoTime();
|
||||
this.elapsedTime = 0;
|
||||
|
||||
int itemCount = 0;
|
||||
final IItemList<IAEItemStack> list = AEApi.instance().storage().createItemList();
|
||||
|
||||
this.getListOfItem( list, CraftingItemList.ACTIVE );
|
||||
this.getListOfItem( list, CraftingItemList.PENDING );
|
||||
|
||||
int itemCount = 0;
|
||||
for( IAEItemStack ge : list )
|
||||
{
|
||||
itemCount += ge.getStackSize();
|
||||
|
||||
@@ -129,9 +129,8 @@ public class QuantumCalculator extends MBCalculator
|
||||
{
|
||||
TileQuantumBridge te = (TileQuantumBridge) w.getTileEntity( new BlockPos( x, y, z ) );
|
||||
|
||||
byte flags;
|
||||
|
||||
num++;
|
||||
byte flags;
|
||||
if( num == 5 )
|
||||
{
|
||||
flags = num;
|
||||
|
||||
@@ -77,9 +77,8 @@ public class QuantumCluster implements ILocatable, IAECluster
|
||||
@Override
|
||||
public void updateStatus( boolean updateGrid )
|
||||
{
|
||||
long qe;
|
||||
|
||||
qe = this.center.getQEFrequency();
|
||||
long qe = this.center.getQEFrequency();
|
||||
|
||||
if( this.thisSide != qe && this.thisSide != -qe )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user