Remove unused constructor.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugAbstractValue.java
index 96f14f2..3899a24 100644 (file)
@@ -43,15 +43,7 @@ public abstract class XDebugAbstractValue  extends XDebugElement implements IVal
        
        private boolean fhasChanged;
 
-       public XDebugAbstractValue(XDebugVariable  variable, String typeName) {
-               super((XDebugTarget) variable.getDebugTarget());
-               fVariable = variable;
-               setType(typeName);
-               fVariables= new IVariable[0];
-       }
-
-       
-       public XDebugAbstractValue(XDebugVariable  variable,Node varNode,String typeName) {
+       public XDebugAbstractValue(XDebugVariable variable, Node varNode, String typeName) {
                super((XDebugTarget) variable.getDebugTarget());
                fVariable = variable;
                if (varNode==null){
@@ -154,10 +146,10 @@ public abstract class XDebugAbstractValue  extends XDebugElement implements IVal
        public boolean setValue(String expression) {
                if (!verifyValue(expression))
                        return false;
-        if( fTarget == null ) {
+        if( getDebugTarget() == null ) {
             renderValueString(expression);
            } else {
-                   if(fTarget.setVarValue(fVariable.getFullName(),expression)) {
+                   if(((XDebugTarget) getDebugTarget()).setVarValue(fVariable.getFullName(),expression)) {
                            renderValueString(expression);
                            return true;
                    }