logging-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1396356&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=1396356&r1=1396355&r2=1396356&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:44 2012
@@ -29,7 +29,7 @@ public final class CompositeTriggeringPo
 
     private final TriggeringPolicy[] policies;
 
-    private CompositeTriggeringPolicy(TriggeringPolicy[] policies) {
+    private CompositeTriggeringPolicy(TriggeringPolicy... policies) {
         this.policies = policies;
     }
 



Mime
View raw message