aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-repository-api
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-08 12:21:06 +0000
committerOlivier Lamy <olamy@apache.org>2014-04-08 12:21:06 +0000
commitfd75d57535cf950ce2c6549c70b41ad78689442a (patch)
tree91b409fd4caad83e897784a04d4c8c9ed29235fb /archiva-modules/metadata/metadata-repository-api
parent6b9da927e4bf110d42b90f532c612739245fffd3 (diff)
downloadarchiva-fd75d57535cf950ce2c6549c70b41ad78689442a.tar.gz
archiva-fd75d57535cf950ce2c6549c70b41ad78689442a.zip
mark this AutoCloseable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585703 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java
index 2015ff99c..4f9b1828a 100644
--- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java
+++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java
@@ -21,6 +21,7 @@ package org.apache.archiva.metadata.repository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import java.lang.AutoCloseable;
/**
* The repository session provides a single interface to accessing Archiva repositories. It provides access to three
@@ -36,6 +37,7 @@ import org.slf4j.LoggerFactory;
* </ul>
*/
public class RepositorySession
+ implements AutoCloseable
{
private final MetadataRepository repository;