From 114b0e55a3a546458cafb2ef6f64dccc313c6ba2 Mon Sep 17 00:00:00 2001 From: incastrix Date: Sat, 30 Aug 2008 04:58:25 +0000 Subject: [PATCH] Change variable view behaviour. --- .../xdebug/php/model/XDebugArrayValue.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) 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; + } } } -- 1.7.1