diff options
author | olivier lamy <olamy@apache.org> | 2017-08-14 17:20:12 +1000 |
---|---|---|
committer | olivier lamy <olamy@apache.org> | 2017-08-14 17:20:12 +1000 |
commit | 789f879c3bba01a8188416b7adf11d89291356f0 (patch) | |
tree | 00504c3e0a2e632366533b01da0bd315af385875 /archiva-modules/metadata | |
parent | e4ef8273a4b5b9ce2a99a4f2340e50a2c996a7e8 (diff) | |
download | archiva-789f879c3bba01a8188416b7adf11d89291356f0.tar.gz archiva-789f879c3bba01a8188416b7adf11d89291356f0.zip |
fixing test for rest services, correctly close jcr repo
Signed-off-by: olivier lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactory.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactory.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactory.java index ff6be9517..ba2c585d8 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactory.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactory.java @@ -22,4 +22,6 @@ package org.apache.archiva.metadata.repository; public interface RepositorySessionFactory { RepositorySession createSession(); + + void close(); } |