logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396355 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java
Date Tue, 09 Oct 2012 21:51:24 GMT
Author: ggregory
Date: Tue Oct  9 21:51:24 2012
New Revision: 1396355

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

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java?rev=1396355&r1=1396354&r2=1396355&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/rolling/CompositeTriggeringPolicy.java
Tue Oct  9 21:51:24 2012
@@ -78,7 +78,7 @@ public final class CompositeTriggeringPo
      * @return A CompositeTriggeringPolicy.
      */
     @PluginFactory
-    public static CompositeTriggeringPolicy createPolicy(@PluginElement("policies") TriggeringPolicy[]
policies) {
+    public static CompositeTriggeringPolicy createPolicy(@PluginElement("policies") TriggeringPolicy...
policies) {
         return new CompositeTriggeringPolicy(policies);
     }
 }



Mime
View raw message