From 8a34bce31c49f27e0c17e6a9e6c67834b8015ec4 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 17 Feb 2013 23:51:24 +0000 Subject: [PATCH] add javadoc git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/metadata/repository/RepositorySession.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ); } } -- 2.39.5