logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396282 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java
Date Tue, 09 Oct 2012 20:10:22 GMT
Author: ggregory
Date: Tue Oct  9 20:10:22 2012
New Revision: 1396282

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

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java?rev=1396282&r1=1396281&r2=1396282&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/util/AbsoluteTimeFilter.java
Tue Oct  9 20:10:22 2012
@@ -20,7 +20,7 @@ package org.apache.logging.log4j.core.ut
 import org.apache.oro.text.perl.Perl5Util;
 
 public class AbsoluteTimeFilter implements Filter {
-  Perl5Util util = new Perl5Util();
+  private final Perl5Util util = new Perl5Util();
 
   public String filter(String in) {
     String pat = "/" + Filter.ABSOLUTE_TIME_PAT + "/";



Mime
View raw message