Fix snapshot downloads

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-06-25 09:37:52 +00:00
parent 07cac37dfe
commit 10a71275e5
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class ArtifactDownloader
directory.mkdirs();
}
if ( destinationFile.exists() && !file.endsWith( SNAPSHOT_SIGNATURE ) )
if ( destinationFile.exists() && file.indexOf( SNAPSHOT_SIGNATURE ) < 0 )
{
continue;
}