From: David ‘Bombe’ Roden Date: Wed, 25 Apr 2012 13:12:53 +0000 (+0200) Subject: Fix @SuppressWarnings annotation. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c957b2908a6809e78fd3bfbb4b69aa1aeeb826fd;p=demoscenemusic.git Fix @SuppressWarnings annotation. --- diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultBase.java b/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultBase.java index 577de49..a75563b 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultBase.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/DefaultBase.java @@ -45,7 +45,7 @@ public class DefaultBase implements Base { return attributes.containsKey(name); } - @SuppressWarnings({ "synthetic-access", "unchecked" }) + @SuppressWarnings({ "unchecked" }) protected Value getValue(String name, Class clazz) { if (!attributes.containsKey(name)) { attributes.put(name, new Value());