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
@@ -33,7 +33,7 @@ public final class EntityFloatingItem extends EntityItem
int superDeath = 0;
float progress = 0;
public EntityFloatingItem( Entity parent, World world, double x, double y, double z, ItemStack stack )
public EntityFloatingItem( final Entity parent, final World world, final double x, final double y, final double z, final ItemStack stack )
{
super( world, x, y, z, stack );
this.motionX = this.motionY = this.motionZ = 0.0d;
@@ -61,7 +61,7 @@ public final class EntityFloatingItem extends EntityItem
this.age = ageStatic;
}
public void setProgress( float progress )
public void setProgress( final float progress )
{
this.progress = progress;
if( this.progress > 0.99 )