svn commit: r169840 - /maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r169840 - /maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java

brettporter
Administrator
Author: brett
Date: Thu May 12 09:15:26 2005
New Revision: 169840

URL: http://svn.apache.org/viewcvs?rev=169840&view=rev
Log:
always touch the file if updates are checked

Modified:
    maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java

Modified: maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java?rev=169840&r1=169839&r2=169840&view=diff
==============================================================================
--- maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java (original)
+++ maven/components/trunk/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java Thu May 12 09:15:26 2005
@@ -117,14 +117,8 @@
                         artifact.setRepository( remoteRepository );
 
                         localMetadata = remoteMetadata;
-
-                        checkedUpdates = true;
-                    }
-                    else if ( difference == 0 )
-                    {
-                        // Identical, simply touch the file to prevent re-checking
-                        checkedUpdates = true;
                     }
+                    checkedUpdates = true;
                 }
             }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]