fix compilation issue

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-02-25 22:11:47 +00:00
parent 38aaec51a7
commit 691a0ab3e9
1 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ public class RepositorySession
* exception occurs.
*/
public void close()
throws MetadataRepositoryException
{
try
{
@ -98,7 +97,7 @@ public class RepositorySession
catch ( MetadataRepositoryException e )
{
// olamy use revert here ?
throw e;
throw new RuntimeException( e.getMessage(), e );
}
finally
{