X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fclassgen%2FFieldGen.java;h=330849b096c0fbd6f31457a1f2eba5aa337a4b0d;hp=e4f67637dbab660c6e14161c99f3efc97479f680;hb=50a344886756b00af0e30d548a7a86822ef7e962;hpb=2b7157f2b687f5500bf45ab2c9175ef1b33ccc48 diff --git a/src/org/ibex/classgen/FieldGen.java b/src/org/ibex/classgen/FieldGen.java index e4f6763..330849b 100644 --- a/src/org/ibex/classgen/FieldGen.java +++ b/src/org/ibex/classgen/FieldGen.java @@ -14,7 +14,7 @@ public class FieldGen implements CGConst { private Object constantValue; FieldGen(DataInput in) { throw new Error("Brian is lame"); } - FieldGen(ClassGen owner, String name,Type type, int flags) { + FieldGen(ClassGen owner, String name, Type type, int flags) { if((flags & ~(ACC_PUBLIC|ACC_PRIVATE|ACC_PROTECTED|ACC_VOLATILE|ACC_TRANSIENT|ACC_STATIC|ACC_FINAL)) != 0) throw new IllegalArgumentException("invalid flags"); this.cp = owner.cp; @@ -36,7 +36,7 @@ public class FieldGen implements CGConst { void finish() { if(constantValue != null && !attrs.contains("ConstantValue")) - attrs.add("ConstantValue",cp.add(constantValue)); + attrs.add("ConstantValue", cp.add(constantValue)); } void dump(DataOutput o) throws IOException {