mirror of https://github.com/apache/maven.git
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
This commit is contained in:
parent
d377256c93
commit
33f0431b59
|
@ -46,7 +46,6 @@ import java.util.HashMap;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.security.NoSuchAlgorithmException;
|
|
||||||
|
|
||||||
public class DefaultWagonManager
|
public class DefaultWagonManager
|
||||||
extends AbstractLogEnabled
|
extends AbstractLogEnabled
|
||||||
|
@ -132,15 +131,16 @@ public class DefaultWagonManager
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// TODO: configure these
|
// 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( "MD5" ) );
|
||||||
wagon.addTransferListener( new ChecksumObserver( "SHA-1" ) );
|
wagon.addTransferListener( new ChecksumObserver( "SHA-1" ) );
|
||||||
}
|
// }
|
||||||
catch ( NoSuchAlgorithmException e )
|
// catch ( NoSuchAlgorithmException e )
|
||||||
{
|
// {
|
||||||
throw new TransferFailedException( "Unable to add checksum methods", e );
|
// throw new TransferFailedException( "Unable to add checksum methods", e );
|
||||||
}
|
// }
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue