logging-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1396172&view=rev
Log:
Make ivar final.

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=1396172&r1=1396171&r2=1396172&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 18:34:46 2012
@@ -27,7 +27,7 @@ import org.apache.logging.log4j.core.con
 @Plugin(name = "Policies", type = "Core", printObject = true)
 public final class CompositeTriggeringPolicy implements TriggeringPolicy {
 
-    private TriggeringPolicy[] policies;
+    private final TriggeringPolicy[] policies;
 
     private CompositeTriggeringPolicy(TriggeringPolicy[] policies) {
         this.policies = policies;



Mime
View raw message