diff --git a/jode/jode/flow/VariableStack.java b/jode/jode/flow/VariableStack.java index a7668f9..b94d306 100644 --- a/jode/jode/flow/VariableStack.java +++ b/jode/jode/flow/VariableStack.java @@ -34,11 +34,14 @@ import jode.expr.Operator; * @see FlowBlock.removePush */ public class VariableStack { - public final static VariableStack EMPTY = - new VariableStack(new LocalInfo[0]); + public final static VariableStack EMPTY = new VariableStack(); final LocalInfo[] stackMap; + private VariableStack() { + stackMap = new LocalInfo[0]; + } + private VariableStack(LocalInfo[] stack) { stackMap = stack; } diff --git a/jode/jode/type/Type.java b/jode/jode/type/Type.java index f6613e4..ec085eb 100644 --- a/jode/jode/type/Type.java +++ b/jode/jode/type/Type.java @@ -305,8 +305,8 @@ public class Type { /** * Create a new type with the given type code. */ - protected Type(int typecode) { - this.typecode = typecode; + protected Type(int tc) { + typecode = tc; } public Type getSubType() {