Change variable view behaviour.
[phpeclipse.git] / 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;
+                       }
                }
        }