aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-proxy-common/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-11-14 00:08:33 +0000
committerOlivier Lamy <olamy@apache.org>2012-11-14 00:08:33 +0000
commit8021d4e5c8ee6addd0fcc9b4004c10df3654c702 (patch)
tree95bfa00524530168473d1953f72ff35378d5e6fb /archiva-modules/archiva-base/archiva-proxy-common/src
parentb12d026eb6b1f5a58b21b3a4b2dd55f7502679e1 (diff)
downloadarchiva-8021d4e5c8ee6addd0fcc9b4004c10df3654c702.tar.gz
archiva-8021d4e5c8ee6addd0fcc9b4004c10df3654c702.zip
use varargs from slf4j rather than creating an array for debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1409042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy-common/src')
-rw-r--r--archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DebugTransferListener.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DebugTransferListener.java b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DebugTransferListener.java
index 19bd59373..d570ddeb7 100644
--- a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DebugTransferListener.java
+++ b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/DebugTransferListener.java
@@ -23,8 +23,6 @@ import org.apache.maven.wagon.events.TransferListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.Arrays;
-
/**
* @author Olivier Lamy
* @since 1.4-M1
@@ -60,10 +58,8 @@ public class DebugTransferListener
public void transferError( TransferEvent transferEvent )
{
- log.debug( "transferError for resource {} on repository url {}",
- Arrays.asList( transferEvent.getResource().getName(),
- transferEvent.getWagon().getRepository().getUrl() ).toArray( new String[2] ),
- transferEvent.getException() );
+ log.debug( "transferError for resource {} on repository url {}", transferEvent.getResource().getName(),
+ transferEvent.getWagon().getRepository().getUrl(), transferEvent.getException() );
}
public void debug( String s )