commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1606467 - /commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java
Date Sun, 29 Jun 2014 11:58:17 GMT
Author: ggregory
Date: Sun Jun 29 11:58:17 2014
New Revision: 1606467

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

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java?rev=1606467&r1=1606466&r2=1606467&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/Class2HTML.java Sun Jun 29
11:58:17 2014
@@ -172,9 +172,8 @@ public class Class2HTML implements Const
                 || base_type.equals("long") || base_type.equals("double")
                 || base_type.equals("float")) {
             return "<FONT COLOR=\"#00FF00\">" + type + "</FONT>";
-        } else {
-            return "<A HREF=\"" + base_type + ".html\" TARGET=_top>" + short_type +
"</A>";
         }
+        return "<A HREF=\"" + base_type + ".html\" TARGET=_top>" + short_type + "</A>";
     }
 
 



Mime
View raw message