shouldn't check timestamp at all

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-15 12:44:05 +00:00
parent e2c9a495e7
commit 67f2147deb
1 changed files with 2 additions and 2 deletions

View File

@ -172,8 +172,8 @@ public class ArtifactDownloader
log( "Downloading " + metaUrl ); log( "Downloading " + metaUrl );
try try
{ {
HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, useTimestamp, proxyHost, HttpUtils.getFile( metaUrl, new File( filename ), ignoreErrors, false, proxyHost, proxyPort,
proxyPort, proxyUserName, proxyPassword, false ); proxyUserName, proxyPassword, false );
String version = FileUtils.fileRead( filename ); String version = FileUtils.fileRead( filename );
log( "Resolved version: " + version ); log( "Resolved version: " + version );
version = version.substring( version.lastIndexOf( "-", version.lastIndexOf( "-" ) - 1 ) + 1 ); version = version.substring( version.lastIndexOf( "-", version.lastIndexOf( "-" ) - 1 ) + 1 );