From: David ‘Bombe’ Roden Date: Fri, 2 Mar 2012 09:23:08 +0000 (+0100) Subject: Suppress a warning. X-Git-Tag: 0.8^2~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=16cd01e280e5a4c0d7e6d5f45cc4cafd24de3e8b;p=Sone.git Suppress a warning. --- 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); }