diff options
author | Olivier Lamy <olamy@apache.org> | 2011-05-30 13:59:16 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-05-30 13:59:16 +0000 |
commit | 5d9fbb8fdfd6079e00fc77deec15a4e8b5da739e (patch) | |
tree | 2b487a8214629fe05e363b59d86424e49cd02b97 /archiva-modules/archiva-base/archiva-repository-layer | |
parent | f0a771edc3a425defeee6e20b1d2158c5db2ae1f (diff) | |
download | archiva-5d9fbb8fdfd6079e00fc77deec15a4e8b5da739e.tar.gz archiva-5d9fbb8fdfd6079e00fc77deec15a4e8b5da739e.zip |
no need to concat String if debug not activated : so use slf4j {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129177 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-layer')
2 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java index 1cc8f41a5..3119f6b2a 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java @@ -274,7 +274,7 @@ public class ManagedDefaultRepositoryContent } 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() ); } } } diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/metadata/MetadataTools.java b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/metadata/MetadataTools.java index 2c50094b6..48420f259 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/metadata/MetadataTools.java +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/metadata/MetadataTools.java @@ -450,7 +450,7 @@ public class MetadataTools if ( metadata == null ) { - log.debug( "No metadata to update for " + logicalResource ); + log.debug( "No metadata to update for {}", logicalResource ); return; } @@ -516,7 +516,7 @@ public class MetadataTools } catch ( RepositoryMetadataException e ) { - log.debug( "Could not read metadata at " + file.getAbsolutePath() + ". Metadata will be removed." ); + log.debug( "Could not read metadata at {}. Metadata will be removed.", file.getAbsolutePath() ); FileUtils.deleteQuietly( file ); } } |