From 60159d6dad1c292af1f061a3fb8dc5d0707d4ce0 Mon Sep 17 00:00:00 2001 From: kpouer Date: Thu, 3 Jul 2003 22:05:51 +0000 Subject: [PATCH 1/1] A little bug in the tostring method fixed --- .../phpdt/internal/compiler/ast/Define.java | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) 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(); -- 1.7.1