From f324181190cbd0d692afe626571e13b1e248f6b6 Mon Sep 17 00:00:00 2001 From: GJ Date: Wed, 30 Jan 2013 18:29:44 -0500 Subject: [PATCH] Remove useless toString() call. --- src/main/java/com/gmail/nossr50/spout/SpoutConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/spout/SpoutConfig.java b/src/main/java/com/gmail/nossr50/spout/SpoutConfig.java index 9d0037def..fc025cf0f 100644 --- a/src/main/java/com/gmail/nossr50/spout/SpoutConfig.java +++ b/src/main/java/com/gmail/nossr50/spout/SpoutConfig.java @@ -26,7 +26,7 @@ public class SpoutConfig extends ConfigLoader { String temp = config.getString("Spout.HUD.Default", "STANDARD"); for (HudType hudType : HudType.values()) { - if (hudType.toString().equalsIgnoreCase(temp.toString())) { + if (hudType.toString().equalsIgnoreCase(temp)) { defaultHudType = hudType; break; }