From: incastrix Date: Sat, 30 Aug 2008 04:58:25 +0000 (+0000) Subject: Change variable view behaviour. X-Git-Url: http://git.phpeclipse.com Change variable view behaviour. --- diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java index a140ffb..3745a14 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java @@ -22,9 +22,13 @@ public class XDebugArrayValue extends XDebugAbstractValue { public void renderValueString(String data) { if (data.equals("")) { - fValueString = /*"Array */"empty"; + fValueString = "empty"; } else { - fValueString = /*"Array " + */data + " element(s)"; + if ("array".equals(fTypeName)) { + fValueString = "array"; + } else { + fValueString = data; + } } }