logging-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1396014&view=rev
Log:
The value of the local variable i is not used.

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=1396014&r1=1396013&r2=1396014&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 13:05:16 2012
@@ -535,7 +535,6 @@ public class ThrowableProxy extends Thro
         if (getSuppressed != null && addSuppressed != null) {
             try {
                 Throwable[] array = (Throwable[]) getSuppressed.invoke(throwable, null);
-                int i = 0;
                 for (Throwable t : array) {
                     addSuppressed.invoke(this, new ThrowableProxy(t));
                 }



Mime
View raw message