logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396353 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java
Date Tue, 09 Oct 2012 21:50:02 GMT
Author: ggregory
Date: Tue Oct  9 21:50:01 2012
New Revision: 1396353

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java?rev=1396353&r1=1396352&r2=1396353&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/FailoversPlugin.java
Tue Oct  9 21:50:01 2012
@@ -43,7 +43,7 @@ public final class FailoversPlugin {
      * @return The appender references.
      */
     @PluginFactory
-    public static String[] createFailovers(@PluginElement("appender-ref") AppenderRef[] refs)
{
+    public static String[] createFailovers(@PluginElement("appender-ref") AppenderRef...
refs) {
 
         if (refs == null) {
             logger.error("failovers must contain an appender-reference");



Mime
View raw message