remove non needed cast

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1433723 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-01-15 22:50:58 +00:00
parent 383a176278
commit 50dde95a6a

View File

@ -196,7 +196,7 @@ private void processRoles( RedbackRoleModel model )
// 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() );