logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396232 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java
Date Tue, 09 Oct 2012 19:45:31 GMT
Author: ggregory
Date: Tue Oct  9 19:45:31 2012
New Revision: 1396232

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

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java?rev=1396232&r1=1396231&r2=1396232&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/impl/ThrowableProxy.java
Tue Oct  9 19:45:31 2012
@@ -549,8 +549,8 @@ public class ThrowableProxy extends Thro
      * Cached StackTracePackageElement and the ClassLoader.
      */
     private class CacheEntry {
-        private StackTracePackageElement element;
-        private ClassLoader loader;
+        private final StackTracePackageElement element;
+        private final ClassLoader loader;
 
         public CacheEntry(StackTracePackageElement element, ClassLoader loader) {
             this.element = element;



Mime
View raw message