final variables and parameters

This commit is contained in:
thatsIch
2015-09-30 14:24:40 +02:00
parent 059523f543
commit 8b3a954f73
732 changed files with 9253 additions and 9256 deletions
@@ -28,16 +28,16 @@ public class GuiNumberBox extends GuiTextField
final Class type;
public GuiNumberBox( FontRenderer fontRenderer, int x, int y, int width, int height, Class type )
public GuiNumberBox( final FontRenderer fontRenderer, final int x, final int y, final int width, final int height, final Class type )
{
super( 0, fontRenderer, x, y, width, height );
this.type = type;
}
@Override
public void writeText( String selectedText )
public void writeText( final String selectedText )
{
String original = this.getText();
final String original = this.getText();
super.writeText( selectedText );
try
@@ -55,7 +55,7 @@ public class GuiNumberBox extends GuiTextField
Double.parseDouble( this.getText() );
}
}
catch( NumberFormatException e )
catch( final NumberFormatException e )
{
this.setText( original );
}