From aeedc2ff5eebf8ee74508bf44e342642f3faae99 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 6 Mar 2009 16:54:34 +0000 Subject: [PATCH] [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 --- .../maven/archiva/security/ArchivaStandardRolesCheck.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ) { -- 2.39.5