diff --git a/jode/jode/expr/Operator.java b/jode/jode/expr/Operator.java index 0cd51dd..2438d5c 100644 --- a/jode/jode/expr/Operator.java +++ b/jode/jode/expr/Operator.java @@ -30,6 +30,7 @@ import jode.util.SimpleSet; ///#endif public abstract class Operator extends Expression { + /* Don't reorder these constants unless you know what you are doing! */ public final static int ADD_OP = 1; public final static int SUB_OP = 2; public final static int SHIFT_OP = 6; diff --git a/jode/test/HintTypeTest.java b/jode/test/HintTypeTest.java index 289e77c..89609b8 100644 --- a/jode/test/HintTypeTest.java +++ b/jode/test/HintTypeTest.java @@ -36,7 +36,7 @@ public class HintTypeTest { public void charLocal() { String s= "Hallo"; - for (int i=0; i< s.length(); i++) { + for (byte i=0; i< s.length(); i++) { char c = s.charAt(i); if (c == 'H') // The widening to int doesn't occur in byte code, but