From 16cd01e280e5a4c0d7e6d5f45cc4cafd24de3e8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 2 Mar 2012 10:23:08 +0100 Subject: [PATCH] Suppress a warning. --- src/main/java/net/pterodactylus/sone/core/Options.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/core/Options.java b/src/main/java/net/pterodactylus/sone/core/Options.java index 513138b..bf51e02 100644 --- a/src/main/java/net/pterodactylus/sone/core/Options.java +++ b/src/main/java/net/pterodactylus/sone/core/Options.java @@ -355,6 +355,7 @@ public class Options { * @return The enum option, or {@code null} if there is no enum option with * the given name */ + @SuppressWarnings("unchecked") public > Option getEnumOption(String name) { return (Option) enumOptions.get(name); } -- 2.7.4