mirror of
https://github.com/apache/maven.git
synced 2025-02-22 01:45:37 +00:00
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.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
public class DefaultWagonManager
|
||||
extends AbstractLogEnabled
|
||||
@ -132,15 +131,16 @@ private void putRemoteFile( ArtifactRepository repository, File source, String r
|
||||
// }
|
||||
|
||||
// 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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user