diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-02 04:04:00 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-02 04:04:00 +0000 |
commit | 56696b4bd8dadb5de0d436e77ab4b910fe183a45 (patch) | |
tree | ba2b20f9c424da0d2e3e531e667f06c02fae032e /archiva-modules | |
parent | fa2a3efcc7bfd8e15a04d95c8cc05c92fc59066f (diff) | |
download | archiva-56696b4bd8dadb5de0d436e77ab4b910fe183a45.tar.gz archiva-56696b4bd8dadb5de0d436e77ab4b910fe183a45.zip |
fix cache invalidate when deleting a groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1583868 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java index eb62d85a7..1f682bc75 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java @@ -991,6 +991,7 @@ public class DefaultRepositoriesService // just invalidate cache entry String cacheKey = repositoryId + "-" + groupId; namespacesCache.remove( cacheKey ); + namespacesCache.remove( repositoryId ); metadataRepository.save(); } |