remove non used private method

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-12-19 01:03:40 +00:00
parent fae670bbc1
commit 840c116465
1 changed files with 0 additions and 20 deletions

View File

@ -730,26 +730,6 @@ public class DefaultManagedRepositoryAdmin
} }
private void addRepositoryRoles( ManagedRepository newRepository )
throws RoleManagerException
{
String repoId = newRepository.getId();
// TODO: double check these are configured on start up
// TODO: belongs in the business logic
if ( !getRoleManager().templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, repoId ) )
{
getRoleManager().createTemplatedRole( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, repoId );
}
if ( !getRoleManager().templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_MANAGER, repoId ) )
{
getRoleManager().createTemplatedRole( ArchivaRoleConstants.TEMPLATE_REPOSITORY_MANAGER, repoId );
}
}
private void addRepositoryRoles( String repoId ) private void addRepositoryRoles( String repoId )
throws RoleManagerException throws RoleManagerException
{ {