aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-02-17 23:51:24 +0000
committerOlivier Lamy <olamy@apache.org>2013-02-17 23:51:24 +0000
commit8a34bce31c49f27e0c17e6a9e6c67834b8015ec4 (patch)
tree6b9808613da4b7353988f6eb5f99fc0d561156fc /archiva-modules
parentb9c19ce3c23c19df115853d1516c7366e95379b9 (diff)
downloadarchiva-8a34bce31c49f27e0c17e6a9e6c67834b8015ec4.tar.gz
archiva-8a34bce31c49f27e0c17e6a9e6c67834b8015ec4.zip
add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySession.java6
1 files changed, 5 insertions, 1 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 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 );
}
}