ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r817455 - /ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java
Date Mon, 21 Sep 2009 23:48:29 GMT
Author: maartenc
Date: Mon Sep 21 23:48:29 2009
New Revision: 817455

URL: http://svn.apache.org/viewvc?rev=817455&view=rev
Log:
Fixed old merge-problem.

Modified:
    ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java

Modified: ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java?rev=817455&r1=817454&r2=817455&view=diff
==============================================================================
--- ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java
(original)
+++ ant/ivy/core/branches/2.1.0/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java
Mon Sep 21 23:48:29 2009
@@ -226,12 +226,6 @@
         
         repository.put(artifact, src, dest, overwrite);
         for (int i = 0; i < checksums.length; i++) {
-            if (!ChecksumHelper.isKnownAlgorithm(checksums[i])) {
-                throw new IllegalArgumentException("Unknown checksum algorithm: " + checksums[i]);
           }
-        }
-        
-        repository.put(artifact, src, dest, overwrite);
-        for (int i = 0; i < checksums.length; i++) {
             putChecksum(artifact, src, dest, overwrite, checksums[i]);
         }
     }



Mime
View raw message