Removes redundant final modifiers of private methods
This commit is contained in:
parent
72106c877d
commit
3ae892137d
4 changed files with 9 additions and 9 deletions
|
@ -44,7 +44,7 @@ public class LayerIEnergySink extends LayerBase implements IEnergySink
|
||||||
return !te.isInvalid() && te.getWorldObj().blockExists( te.xCoord, te.yCoord, te.zCoord );
|
return !te.isInvalid() && te.getWorldObj().blockExists( te.xCoord, te.yCoord, te.zCoord );
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void addToENet()
|
private void addToENet()
|
||||||
{
|
{
|
||||||
if ( getEnergySinkWorld() == null )
|
if ( getEnergySinkWorld() == null )
|
||||||
return;
|
return;
|
||||||
|
@ -59,7 +59,7 @@ public class LayerIEnergySink extends LayerBase implements IEnergySink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void removeFromENet()
|
private void removeFromENet()
|
||||||
{
|
{
|
||||||
if ( getEnergySinkWorld() == null )
|
if ( getEnergySinkWorld() == null )
|
||||||
return;
|
return;
|
||||||
|
@ -71,7 +71,7 @@ public class LayerIEnergySink extends LayerBase implements IEnergySink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final private boolean interestedInIC2()
|
private boolean interestedInIC2()
|
||||||
{
|
{
|
||||||
if ( !((IPartHost) this).isInWorld() )
|
if ( !((IPartHost) this).isInWorld() )
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class LayerIEnergySource extends LayerBase implements IEnergySource
|
||||||
return !te.isInvalid();
|
return !te.isInvalid();
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void addToENet()
|
private void addToENet()
|
||||||
{
|
{
|
||||||
if ( getEnergySourceWorld() == null )
|
if ( getEnergySourceWorld() == null )
|
||||||
return;
|
return;
|
||||||
|
@ -58,7 +58,7 @@ public class LayerIEnergySource extends LayerBase implements IEnergySource
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void removeFromENet()
|
private void removeFromENet()
|
||||||
{
|
{
|
||||||
if ( getEnergySourceWorld() == null )
|
if ( getEnergySourceWorld() == null )
|
||||||
return;
|
return;
|
||||||
|
@ -70,7 +70,7 @@ public class LayerIEnergySource extends LayerBase implements IEnergySource
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final private boolean interestedInIC2()
|
private boolean interestedInIC2()
|
||||||
{
|
{
|
||||||
if ( !((IPartHost) this).isInWorld() )
|
if ( !((IPartHost) this).isInWorld() )
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -102,7 +102,7 @@ public class TileEnergyCell extends AENetworkTile implements IAEPowerStorage
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
final private double extractAEPower(double amt, Actionable mode)
|
private double extractAEPower(double amt, Actionable mode)
|
||||||
{
|
{
|
||||||
if ( mode == Actionable.SIMULATE )
|
if ( mode == Actionable.SIMULATE )
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,7 +76,7 @@ public abstract class IC2 extends MinecraftJoules6 implements IEnergySink
|
||||||
addToENet();
|
addToENet();
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void addToENet()
|
private void addToENet()
|
||||||
{
|
{
|
||||||
if ( AppEng.instance.isIntegrationEnabled( IntegrationType.IC2 ) )
|
if ( AppEng.instance.isIntegrationEnabled( IntegrationType.IC2 ) )
|
||||||
{
|
{
|
||||||
|
@ -89,7 +89,7 @@ public abstract class IC2 extends MinecraftJoules6 implements IEnergySink
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
final private void removeFromENet()
|
private void removeFromENet()
|
||||||
{
|
{
|
||||||
if ( AppEng.instance.isIntegrationEnabled( IntegrationType.IC2 ) )
|
if ( AppEng.instance.isIntegrationEnabled( IntegrationType.IC2 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue