X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fclassgen%2FFieldGen.java;h=330849b096c0fbd6f31457a1f2eba5aa337a4b0d;hb=c8ebc16b29f334a8fe3908bd2d2c678b2c184d03;hp=e4f67637dbab660c6e14161c99f3efc97479f680;hpb=cd0ae78576749ddda5d9dfda5b9e88dd78fda0c9;p=org.ibex.classgen.git 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 {