]> source.dussan.org Git - archiva.git/commitdiff
remove non needed cast
authorOlivier Lamy <olamy@apache.org>
Tue, 15 Jan 2013 22:50:58 +0000 (22:50 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 15 Jan 2013 22:50:58 +0000 (22:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433723 13f79535-47bb-0310-9956-ffa450edef68

redback-rbac/redback-rbac-role-manager/src/main/java/org/apache/archiva/redback/role/processor/DefaultRoleModelProcessor.java

index e4616d9407691eaa3b992eb59b944cf97ad0f34d..dc565256b413a1edf5db9fc0bfd7cefc30263ba9 100644 (file)
@@ -196,7 +196,7 @@ public class DefaultRoleModelProcessor
                     // add child roles to this role
                     if ( roleProfile.getChildRoles() != null )
                     {
-                        for ( String childRoleId : (List<String>) roleProfile.getChildRoles() )
+                        for ( String childRoleId : roleProfile.getChildRoles() )
                         {
                             ModelRole childRoleProfile = RoleModelUtils.getModelRole( model, childRoleId );
                             role.addChildRoleName( childRoleProfile.getName() );