Fix @SuppressWarnings annotation.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Apr 2012 13:12:53 +0000 (15:12 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 25 Apr 2012 13:12:53 +0000 (15:12 +0200)
src/main/java/net/pterodactylus/demoscenemusic/data/DefaultBase.java

index 577de49..a75563b 100644 (file)
@@ -45,7 +45,7 @@ public class DefaultBase implements Base {
                return attributes.containsKey(name);
        }
 
-       @SuppressWarnings({ "synthetic-access", "unchecked" })
+       @SuppressWarnings({ "unchecked" })
        protected <T> Value<T> getValue(String name, Class<T> clazz) {
                if (!attributes.containsKey(name)) {
                        attributes.put(name, new Value<T>());