From: Olivier Lamy Date: Tue, 8 Apr 2014 12:21:06 +0000 (+0000) Subject: mark this AutoCloseable X-Git-Tag: archiva-2.1.0~119 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fremotes%2Ftrunk;p=archiva.git mark this AutoCloseable git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1585703 13f79535-47bb-0310-9956-ffa450edef68 --- 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; * */ public class RepositorySession + implements AutoCloseable { private final MetadataRepository repository;