logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396359 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
Date Tue, 09 Oct 2012 21:53:55 GMT
Author: ggregory
Date: Tue Oct  9 21:53:54 2012
New Revision: 1396359

URL: http://svn.apache.org/viewvc?rev=1396359&view=rev
Log:
Use varargs.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java?rev=1396359&r1=1396358&r2=1396359&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/config/BaseConfiguration.java
Tue Oct  9 21:53:54 2012
@@ -693,7 +693,7 @@ public class BaseConfiguration extends F
         return null;
     }
 
-    private void printArray(StringBuilder sb, Object[] array) {
+    private void printArray(StringBuilder sb, Object... array) {
         boolean first = true;
         for (Object obj : array) {
             if (!first) {



Mime
View raw message