commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1606490 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
Date Sun, 29 Jun 2014 12:17:14 GMT
Author: ggregory
Date: Sun Jun 29 12:17:14 2014
New Revision: 1606490

URL: http://svn.apache.org/r1606490
Log:
Statement unnecessarily nested within else clause.

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java?rev=1606490&r1=1606489&r2=1606490&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/DescendingVisitor.java
Sun Jun 29 12:17:14 2014
@@ -55,10 +55,7 @@ public class DescendingVisitor implement
         {
             return null;
         }
-        else
-        {
-            return stack.elementAt(size - (level + 2)); // size - 1 == current
-        }
+        return stack.elementAt(size - (level + 2)); // size - 1 == current
     }
 
     /**



Mime
View raw message