diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java index 48a3abe7..4fee0532 100755 --- a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java @@ -111,8 +111,7 @@ public class StringLiteral extends Literal InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool()); - il.append(_factory.ASTORE_1); - il.append(_factory.createNew(string)); + il.append(_factory.ASTORE_1, _factory.createNew(string)); return il;