Change variable view behaviour.
authorincastrix <incastrix>
Sat, 30 Aug 2008 04:58:25 +0000 (04:58 +0000)
committerincastrix <incastrix>
Sat, 30 Aug 2008 04:58:25 +0000 (04:58 +0000)
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugArrayValue.java

index a140ffb..3745a14 100644 (file)
@@ -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;
+                       }
                }
        }