mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-26 23:13:06 +00:00
Deleted unnecessary casts with Eclipse
This commit is contained in:
1 parent
94d5319038
commit
da63aca95c
89 files changed
+348
-360
No files matched your search
@@ -64,7 +64,7 @@ public class GuiWireless extends AEBaseGui
|
||||
|
||||
if ( cw.range > 0 )
|
||||
{
|
||||
String firstMessage = GuiText.Range.getLocal() + ": " + ((double) cw.range / 10.0) + " m";
|
||||
String firstMessage = GuiText.Range.getLocal() + ": " + (cw.range / 10.0) + " m";
|
||||
String secondMessage = GuiText.PowerUsageRate.getLocal() + ": " + Platform.formatPowerLong( cw.drain, true );
|
||||
|
||||
int strWidth = Math.max( fontRendererObj.getStringWidth( firstMessage ), fontRendererObj.getStringWidth( secondMessage ) );
|
||||
|
||||
Reference in new issue
Block a user