Remove unused constructor.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugArrayValue.java
index dd01675..6ecfd8e 100644 (file)
@@ -10,18 +10,24 @@ public class XDebugArrayValue extends XDebugAbstractValue {
        }
 
        public void setType(String typeName) {
-               fType=XDebugAbstractValue.VALUETYPE_ARRAY;
-               fTypeName=typeName;
+               fType = XDebugAbstractValue.VALUETYPE_ARRAY;
+               fTypeName = typeName;
 
        }
 
        public void renderValueString(String data) {
-               fValueString= data +" element(s)";
+               if (data.equals("")) {
+                       fValueString = "empty";
+               } else {
+                       if ("array".equals(fTypeName)) {
+                               fValueString = "array";
+                       } else {
+                               fValueString = data;
+                       }
+               }
        }
 
        public boolean verifyValue(String expression) {
-               // TODO Auto-generated method stub
                return false;
        }
-
 }