diff options
author | Olivier Lamy <olamy@apache.org> | 2013-12-19 01:03:40 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-12-19 01:03:40 +0000 |
commit | 840c1164650062dbc20a07300061256d6b169dc0 (patch) | |
tree | 15f217e99e36b3ca28c848c052f9e294ecd3c6c2 | |
parent | fae670bbc1cdee91cdc074f88a3204e43671f296 (diff) | |
download | archiva-840c1164650062dbc20a07300061256d6b169dc0.tar.gz archiva-840c1164650062dbc20a07300061256d6b169dc0.zip |
remove non used private method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1552196 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java index 4d0ea216f..bb7b09d53 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/managed/DefaultManagedRepositoryAdmin.java @@ -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 ) throws RoleManagerException { |