From: Olivier Lamy Date: Sun, 17 Feb 2013 23:51:24 +0000 (+0000) Subject: add javadoc X-Git-Tag: archiva-1.4-M4~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8a34bce31c49f27e0c17e6a9e6c67834b8015ec4;p=archiva.git add javadoc git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 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 115c931de..2015ff99c 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 @@ -106,6 +106,10 @@ public class RepositorySession } } + /** + * ignore RuntimeException when closing repository + * @since 1.4-M4 + */ public void closeQuietly() { try @@ -114,7 +118,7 @@ public class RepositorySession } catch ( RuntimeException e ) { - log.warn( "ignore Runtime exception while closing: {}", e.getMessage() ); + log.warn( "ignore Runtime exception while closing: {}", e.getMessage(), e ); } }