commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1696805 - /commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/BCELifier.java
Date Thu, 20 Aug 2015 15:05:09 GMT
Author: sebb
Date: Thu Aug 20 15:05:08 2015
New Revision: 1696805

URL: http://svn.apache.org/r1696805
Log:
Use blocks

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

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/BCELifier.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/BCELifier.java?rev=1696805&r1=1696804&r2=1696805&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/BCELifier.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/util/BCELifier.java Thu
Aug 20 15:05:08 2015
@@ -206,10 +206,11 @@ public class BCELifier extends org.apach
                 } else if ((pow == Constants.ACC_TRANSIENT) && (reason == FLAG_FOR_METHOD))
{
                     buf.append("ACC_VARARGS | ");
                 } else {
-                    if (i < Constants.ACCESS_NAMES.length)
+                    if (i < Constants.ACCESS_NAMES.length) {
                         buf.append("ACC_").append(Constants.ACCESS_NAMES[i].toUpperCase(Locale.ENGLISH)).append(
" | ");
-                    else
+                    } else {
                         buf.append(String.format ("ACC_BIT %x | ", pow));
+                    }
                 }
             }
             pow <<= 1;



Mime
View raw message