You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by xa...@apache.org on 2008/07/10 14:20:43 UTC

svn commit: r675543 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java

Author: xavier
Date: Thu Jul 10 05:20:43 2008
New Revision: 675543

URL: http://svn.apache.org/viewvc?rev=675543&view=rev
Log:
expose and make put methods overridable

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

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java?rev=675543&r1=675542&r2=675543&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/RepositoryResolver.java Thu Jul 10 05:20:43 2008
@@ -209,7 +209,7 @@
         return IvyPatternHelper.substitute(pattern, mrid, artifact);
     }
 
-    private void put(Artifact artifact, File src, String dest, boolean overwrite)
+    protected void put(Artifact artifact, File src, String dest, boolean overwrite)
             throws IOException {
         repository.put(artifact, src, dest, overwrite);
         String[] checksums = getChecksumAlgorithms();
@@ -218,7 +218,7 @@
         }
     }
 
-    private void putChecksum(Artifact artifact, File src, String dest, boolean overwrite,
+    protected void putChecksum(Artifact artifact, File src, String dest, boolean overwrite,
             String algorithm) throws IOException {
         File csFile = File.createTempFile("ivytemp", algorithm);
         try {