From fec33b18853c4ac5a01ef5d9b17e9217adf458ec Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Thu, 12 May 2005 16:15:26 +0000 Subject: [PATCH] always touch the file if updates are checked git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169840 13f79535-47bb-0310-9956-ffa450edef68 --- .../artifact/transform/AbstractVersionTransformation.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java b/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java index 333f69476c..b3f4902425 100644 --- a/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java +++ b/maven-artifact/src/main/java/org/apache/maven/artifact/transform/AbstractVersionTransformation.java @@ -117,14 +117,8 @@ public abstract class AbstractVersionTransformation artifact.setRepository( remoteRepository ); localMetadata = remoteMetadata; - - checkedUpdates = true; - } - else if ( difference == 0 ) - { - // Identical, simply touch the file to prevent re-checking - checkedUpdates = true; } + checkedUpdates = true; } }