remove trailing whitespaces
This commit is contained in:
@@ -47,7 +47,7 @@ public class GridStorage implements IGridStorage
|
||||
|
||||
/**
|
||||
* for use with world settings
|
||||
*
|
||||
*
|
||||
* @param id ID of grid storage
|
||||
* @param gss grid storage search
|
||||
*/
|
||||
@@ -59,7 +59,7 @@ public class GridStorage implements IGridStorage
|
||||
|
||||
/**
|
||||
* for use with world settings
|
||||
*
|
||||
*
|
||||
* @param input array of bytes string
|
||||
* @param id ID of grid storage
|
||||
* @param gss grid storage search
|
||||
|
||||
@@ -28,7 +28,7 @@ public class GridStorageSearch
|
||||
|
||||
/**
|
||||
* for use with the world settings
|
||||
*
|
||||
*
|
||||
* @param id ID of grid storage search
|
||||
*/
|
||||
public GridStorageSearch(long id) {
|
||||
|
||||
+2
-2
@@ -65,13 +65,13 @@ public class NetworkMonitor<T extends IAEStack<T>> extends MEMonitorHandler<T>
|
||||
}
|
||||
|
||||
final static public LinkedList DEPTH = new LinkedList();
|
||||
|
||||
|
||||
@Override
|
||||
protected void postChangesToListeners(Iterable<T> changes, BaseActionSource src)
|
||||
{
|
||||
this.postChange( true, changes, src );
|
||||
}
|
||||
|
||||
|
||||
protected void postChange(boolean Add, Iterable<T> changes, BaseActionSource src)
|
||||
{
|
||||
if ( DEPTH.contains( this ) )
|
||||
|
||||
+3
-3
@@ -175,14 +175,14 @@ public class SpatialPylonCache implements ISpatialCache
|
||||
reqY = this.captureMax.y - this.captureMin.y;
|
||||
reqZ = this.captureMax.z - this.captureMin.z;
|
||||
requirePylonBlocks = Math.max( 6, ((reqX * reqZ + reqX * reqY + reqY * reqZ) * 3) / 8 );
|
||||
|
||||
|
||||
this.efficiency = (double) pylonBlocks / (double) requirePylonBlocks;
|
||||
|
||||
|
||||
if ( this.efficiency > 1.0 )
|
||||
this.efficiency = 1.0;
|
||||
if ( this.efficiency < 0.0 )
|
||||
this.efficiency = 0.0;
|
||||
|
||||
|
||||
minPower = (double) reqX * (double) reqY * reqZ * AEConfig.instance.spatialPowerMultiplier;
|
||||
maxPower = Math.pow( minPower, AEConfig.instance.spatialPowerExponent );
|
||||
}
|
||||
|
||||
+2
-2
@@ -87,7 +87,7 @@ public class TickManagerCache implements ITickManager
|
||||
// remove tt..
|
||||
this.upcomingTicks.poll();
|
||||
TickRateModulation mod = tt.gt.tickingRequest( tt.node, diff );
|
||||
|
||||
|
||||
switch (mod)
|
||||
{
|
||||
case FASTER:
|
||||
@@ -110,7 +110,7 @@ public class TickManagerCache implements ITickManager
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if ( this.awake.containsKey( tt.node ) )
|
||||
this.addToQueue( tt );
|
||||
}
|
||||
|
||||
+2
-2
@@ -80,14 +80,14 @@ public class TickTracker implements Comparable<TickTracker>
|
||||
AEBasePart part = (AEBasePart)this.gt;
|
||||
part.addEntityCrashInfo( crashreportcategory );
|
||||
}
|
||||
|
||||
|
||||
crashreportcategory.addCrashSection( "CurrentTickRate", this.current_rate );
|
||||
crashreportcategory.addCrashSection( "MinTickRate", this.request.minTickRate );
|
||||
crashreportcategory.addCrashSection( "MaxTickRate", this.request.maxTickRate );
|
||||
crashreportcategory.addCrashSection( "MachineType", this.gt.getClass().getName() );
|
||||
crashreportcategory.addCrashSection( "GridBlockType", this.node.getGridBlock().getClass().getName() );
|
||||
crashreportcategory.addCrashSection( "ConnectedSides", this.node.getConnectedSides() );
|
||||
|
||||
|
||||
DimensionalCoord dc = this.node.getGridBlock().getLocation();
|
||||
if ( dc != null )
|
||||
crashreportcategory.addCrashSection( "Location", dc );
|
||||
|
||||
@@ -37,7 +37,7 @@ public abstract class MBCalculator
|
||||
|
||||
/**
|
||||
* check if the tile entities are correct for the structure.
|
||||
*
|
||||
*
|
||||
* @param te to be checked tile entity
|
||||
* @return true if tile entity is valid for structure
|
||||
*/
|
||||
@@ -45,7 +45,7 @@ public abstract class MBCalculator
|
||||
|
||||
/**
|
||||
* construct the correct cluster, usually very simple.
|
||||
*
|
||||
*
|
||||
* @param w world
|
||||
* @param min min world coord
|
||||
* @param max max world coord
|
||||
@@ -55,7 +55,7 @@ public abstract class MBCalculator
|
||||
|
||||
/**
|
||||
* configure the multi-block tiles, most of the important stuff is in here.
|
||||
*
|
||||
*
|
||||
* @param c updated cluster
|
||||
* @param w in world
|
||||
* @param min min world coord
|
||||
@@ -70,7 +70,7 @@ public abstract class MBCalculator
|
||||
|
||||
/**
|
||||
* verify if the structure is the correct dimensions, or size
|
||||
*
|
||||
*
|
||||
* @param min min world coord
|
||||
* @param max max world coord
|
||||
* @return true if structure has correct dimensions or size
|
||||
|
||||
@@ -36,7 +36,7 @@ import appeng.tile.crafting.TileCraftingTile;
|
||||
|
||||
public class CraftingCPUCalculator extends MBCalculator
|
||||
{
|
||||
|
||||
|
||||
final TileCraftingTile tqb;
|
||||
|
||||
public CraftingCPUCalculator(IAEMultiBlock t) {
|
||||
|
||||
@@ -208,7 +208,7 @@ public class AENetworkProxy implements IGridBlock
|
||||
|
||||
/**
|
||||
* short cut!
|
||||
*
|
||||
*
|
||||
* @return grid of node
|
||||
* @throws GridAccessException of node or grid is null
|
||||
*/
|
||||
|
||||
@@ -47,7 +47,7 @@ public interface IPathItem
|
||||
|
||||
/**
|
||||
* get the grid flags for this IPathItem.
|
||||
*
|
||||
*
|
||||
* @return the flag set.
|
||||
*/
|
||||
public EnumSet<GridFlags> getFlags();
|
||||
|
||||
@@ -114,7 +114,7 @@ public class CellInventoryHandler extends MEInventoryHandler<IAEItemStack> imple
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPreformatted()
|
||||
public boolean isPreformatted()
|
||||
{
|
||||
return ! this.myPartitionList.isEmpty();
|
||||
}
|
||||
@@ -134,10 +134,10 @@ public class CellInventoryHandler extends MEInventoryHandler<IAEItemStack> imple
|
||||
public int getStatusForCell()
|
||||
{
|
||||
int val = this.getCellInv().getStatusForCell();
|
||||
|
||||
|
||||
if ( val == 1 && this.isPreformatted() )
|
||||
val = 2;
|
||||
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ public class SecurityInventory implements IMEInventoryHandler<IAEItemStack>
|
||||
GameProfile thisUser = tbc.getProfile( ais.getItemStack() );
|
||||
if ( thisUser == newUser )
|
||||
return false;
|
||||
|
||||
|
||||
if ( thisUser != null && thisUser.equals( newUser ) )
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user