final variables and parameters

seeing some methods it does actually help to enforce the parameters
This commit is contained in:
thatsIch
2015-09-25 23:10:56 +02:00
parent e52400bf26
commit 410d2f1e0d
819 changed files with 9390 additions and 9396 deletions
@@ -30,7 +30,7 @@ public class EnergyThreshold implements Comparable<EnergyThreshold>
public final IEnergyWatcher watcher;
final int hash;
public EnergyThreshold( double lim, IEnergyWatcher wat )
public EnergyThreshold( final double lim, final IEnergyWatcher wat )
{
this.Limit = lim;
this.watcher = wat;
@@ -52,7 +52,7 @@ public class EnergyThreshold implements Comparable<EnergyThreshold>
}
@Override
public int compareTo( EnergyThreshold o )
public int compareTo( final EnergyThreshold o )
{
return ItemSorters.compareDouble( this.Limit, o.Limit );
}