o Fixed URL logging

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@800117 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-02 17:50:29 +00:00
parent a907343a61
commit db0e7f7407
1 changed files with 6 additions and 3 deletions

View File

@ -350,9 +350,12 @@ public class DefaultWagonManager
if ( downloaded ) if ( downloaded )
{ {
if ( logger.isInfoEnabled() )
logger.info( "Downloaded " + repository.getUrl() + remotePath ); {
String url = String.valueOf( repository.getUrl() );
logger.info( "Downloaded " + url + ( url.endsWith( "/" ) ? "" : "/" ) + remotePath );
}
// keep the checksum files from showing up on the download monitor... // keep the checksum files from showing up on the download monitor...
if ( downloadMonitor != null ) if ( downloadMonitor != null )
{ {