Remove useless toString() call.

This commit is contained in:
GJ 2013-01-30 18:29:44 -05:00
parent 5c13661c47
commit f324181190

View File

@ -26,7 +26,7 @@ public class SpoutConfig extends ConfigLoader {
String temp = config.getString("Spout.HUD.Default", "STANDARD"); String temp = config.getString("Spout.HUD.Default", "STANDARD");
for (HudType hudType : HudType.values()) { for (HudType hudType : HudType.values()) {
if (hudType.toString().equalsIgnoreCase(temp.toString())) { if (hudType.toString().equalsIgnoreCase(temp)) {
defaultHudType = hudType; defaultHudType = hudType;
break; break;
} }