From 4018ccf07dc01aabf6be3e16c628bd1e5e8c1161 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 13 Nov 2012 20:13:10 +0000 Subject: [PATCH] use varargs from slf4j rather than creating an array for debug git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1408931 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/proxy/DefaultRepositoryProxyConnectors.java | 3 +-- pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java index 96775d153..3e1587f59 100644 --- a/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java +++ b/archiva-modules/archiva-base/archiva-proxy/src/main/java/org/apache/archiva/proxy/DefaultRepositoryProxyConnectors.java @@ -83,7 +83,6 @@ import javax.inject.Named; import java.io.File; import java.io.IOException; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.LinkedHashMap; @@ -908,7 +907,7 @@ public class DefaultRepositoryProxyConnectors try { transferSimpleFile( wagon, remoteRepository, remotePath + ext, repository, resource, destFile ); - log.debug( "Checksum {} Downloaded: {} to move to {}", Arrays.asList( url, destFile, resource ).toArray() ); + log.debug( "Checksum {} Downloaded: {} to move to {}", url, destFile, resource ); } catch ( NotFoundException e ) { diff --git a/pom.xml b/pom.xml index c33384936..21f2c702a 100644 --- a/pom.xml +++ b/pom.xml @@ -100,7 +100,7 @@ 1.1 2.0 3.0.7 - 2.0 + 2.1-SNAPSHOT 7.0.32 clean install -- 2.39.5