From: kpouer Date: Thu, 3 Jul 2003 22:05:51 +0000 (+0000) Subject: A little bug in the tostring method fixed X-Git-Url: http://secure.phpeclipse.com A little bug in the tostring method fixed --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Define.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Define.java index ad05eb7..8a85495 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Define.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Define.java @@ -17,11 +17,11 @@ public class Define extends Statement implements Outlineable { private Object parent; private Position position; - public Define(Object parent, - Expression defineName, - Expression defineValue, - int sourceStart, - int sourceEnd) { + public Define(final Object parent, + final Expression defineName, + final Expression defineValue, + final int sourceStart, + final int sourceEnd) { super(sourceStart, sourceEnd); this.parent = parent; this.defineName = defineName; @@ -29,10 +29,11 @@ public class Define extends Statement implements Outlineable { position = new Position(sourceStart, sourceEnd); } - public String toString(int tab) { + public String toString(final int tab) { final StringBuffer buff = new StringBuffer(tabString(tab)); buff.append("define("); buff.append(defineName.toStringExpression()); + buff.append(", "); buff.append(defineValue.toStringExpression()); buff.append(")"); return buff.toString();