X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LabeledStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LabeledStatement.java index ea7a95c..c9730ea 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LabeledStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/LabeledStatement.java @@ -7,11 +7,14 @@ import java.util.List; */ public class LabeledStatement extends Statement { - public char[] label; + public String label; public Statement statement; - public LabeledStatement(final char[] label, final Statement statement, final int sourceStart, final int sourceEnd) { + public LabeledStatement(final String label, + final Statement statement, + final int sourceStart, + final int sourceEnd) { super(sourceStart, sourceEnd); this.label = label; this.statement = statement; @@ -23,7 +26,7 @@ public class LabeledStatement extends Statement { * @return a String */ public String toString() { - return new String(label) + statement.toString(); + return label + statement.toString(); } /**