From: Brett Porter Date: Fri, 6 Mar 2009 16:54:34 +0000 (+0000) Subject: [MRM-1013] add generics for type safety after updating redback for the casting error X-Git-Tag: archiva-1.2~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aeedc2ff5eebf8ee74508bf44e342642f3faae99;p=archiva.git [MRM-1013] add generics for type safety after updating redback for the casting error git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750975 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaStandardRolesCheck.java b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaStandardRolesCheck.java index d2028d640..95aea4873 100644 --- a/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaStandardRolesCheck.java +++ b/archiva-modules/archiva-web/archiva-security/src/main/java/org/apache/maven/archiva/security/ArchivaStandardRolesCheck.java @@ -49,8 +49,7 @@ public class ArchivaStandardRolesCheck */ private boolean checked = false; - @SuppressWarnings("unchecked") - public void validateEnvironment( List violations ) + public void validateEnvironment( List violations ) { if ( !checked ) {