From 33f0431b59eb3e3d9b8cc6e1c09be8db5659530c Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Tue, 19 Apr 2005 17:15:35 +0000 Subject: [PATCH] Commented out unnecessary try/catch to get the CI build running again. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163973 13f79535-47bb-0310-9956-ffa450edef68 --- .../artifact/manager/DefaultWagonManager.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java b/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java index 5aa17de525..70dc89c9cf 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java @@ -46,7 +46,6 @@ import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; -import java.security.NoSuchAlgorithmException; public class DefaultWagonManager extends AbstractLogEnabled @@ -132,15 +131,16 @@ public class DefaultWagonManager // } // TODO: configure these - try - { + // TODO: Clean up this try/catch if it truly isn't needed. +// try +// { wagon.addTransferListener( new ChecksumObserver( "MD5" ) ); wagon.addTransferListener( new ChecksumObserver( "SHA-1" ) ); - } - catch ( NoSuchAlgorithmException e ) - { - throw new TransferFailedException( "Unable to add checksum methods", e ); - } +// } +// catch ( NoSuchAlgorithmException e ) +// { +// throw new TransferFailedException( "Unable to add checksum methods", e ); +// } try {