]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1013] add generics for type safety after updating redback for the casting error
authorBrett Porter <brett@apache.org>
Fri, 6 Mar 2009 16:54:34 +0000 (16:54 +0000)
committerBrett Porter <brett@apache.org>
Fri, 6 Mar 2009 16:54:34 +0000 (16:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750975 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaStandardRolesCheck.java

index d2028d640030a8a6bb772d0f179f11f7a8a1e8ac..95aea48735efb5efebfe93db9893226f8ad5c48b 100644 (file)
@@ -49,8 +49,7 @@ public class ArchivaStandardRolesCheck
      */
     private boolean checked = false;
 
-    @SuppressWarnings("unchecked")
-    public void validateEnvironment( List violations )
+    public void validateEnvironment( List<String> violations )
     {
         if ( !checked )
         {