Optimized net.sourceforge.phpeclipse.xdebug.php.model.XDebugThread.getStackFrames()
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugArrayValue.java
index cded934..3745a14 100644 (file)
@@ -21,10 +21,14 @@ public class XDebugArrayValue extends XDebugAbstractValue {
        }
 
        public void renderValueString(String data) {
-               if (data.isEmpty()) {
-                       fValueString = /*"Array */"empty";
+               if (data.equals("")) {
+                       fValueString = "empty";
                } else {
-                       fValueString = /*"Array " + */data + " element(s)";                     
+                       if ("array".equals(fTypeName)) {
+                               fValueString = "array";
+                       } else {
+                               fValueString = data;
+                       }
                }
        }
 
@@ -33,4 +37,7 @@ public class XDebugArrayValue extends XDebugAbstractValue {
                return false;
        }
 
+       /*public String toString() {
+               return null;
+       }*/
 }