summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-06-01 10:38:27 +0000
committerOlivier Lamy <olamy@apache.org>2011-06-01 10:38:27 +0000
commitaaebb5d534e722c8e188848cce37683915ae5a38 (patch)
tree0baffa4ca372705ca25b41aa21cd464b94e04a75 /archiva-modules
parentae34ad83a945728a5db9aac37e6ee39be62ded2a (diff)
downloadarchiva-aaebb5d534e722c8e188848cce37683915ae5a38.tar.gz
archiva-aaebb5d534e722c8e188848cce37683915ae5a38.zip
optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java8
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java
index fb4891e53..f4dd2c9f4 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/MetadataUpdaterConsumer.java
@@ -217,12 +217,12 @@ public class MetadataUpdaterConsumer
if ( projectMetadata.exists() && ( projectMetadata.lastModified() >= this.scanStartTimestamp ) )
{
// This metadata is up to date. skip it.
- log.debug( "Skipping uptodate metadata: " + this.metadataTools.toPath( projectRef ) );
+ log.debug( "Skipping uptodate metadata: {}", this.metadataTools.toPath( projectRef ) );
return;
}
metadataTools.updateMetadata( this.repository, projectRef );
- log.debug( "Updated metadata: " + this.metadataTools.toPath( projectRef ) );
+ log.debug( "Updated metadata: {}", this.metadataTools.toPath( projectRef ) );
}
catch ( LayoutException e )
{
@@ -263,12 +263,12 @@ public class MetadataUpdaterConsumer
if ( projectMetadata.exists() && ( projectMetadata.lastModified() >= this.scanStartTimestamp ) )
{
// This metadata is up to date. skip it.
- log.debug( "Skipping uptodate metadata: " + this.metadataTools.toPath( versionRef ) );
+ log.debug( "Skipping uptodate metadata: {}", this.metadataTools.toPath( versionRef ) );
return;
}
metadataTools.updateMetadata( this.repository, versionRef );
- log.debug( "Updated metadata: " + this.metadataTools.toPath( versionRef ) );
+ log.debug( "Updated metadata: {}", this.metadataTools.toPath( versionRef ) );
}
catch ( LayoutException e )
{
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java
index 3c8c65708..3930589e0 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/maven/archiva/consumers/core/repository/DaysOldRepositoryPurge.java
@@ -137,7 +137,7 @@ public class DaysOldRepositoryPurge
}
catch ( LayoutException e )
{
- log.debug( "Not processing file that is not an artifact: " + e.getMessage() );
+ log.debug( "Not processing file that is not an artifact: {}", e.getMessage() );
}
}