From 7df6c53660780b2063506c6602b3eb14f043bf69 Mon Sep 17 00:00:00 2001 From: incastrix Date: Tue, 16 Sep 2008 17:55:22 +0000 Subject: [PATCH] Removed unused member fDataString. --- .../xdebug/php/model/XDebugResourceValue.java | 16 +--------------- .../xdebug/php/model/XDebugStringValue.java | 19 +++---------------- 2 files changed, 4 insertions(+), 31 deletions(-) diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java index 34faf17..4da322e 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java @@ -3,41 +3,27 @@ package net.sourceforge.phpeclipse.xdebug.php.model; import org.w3c.dom.Node; public class XDebugResourceValue extends XDebugAbstractValue { - private String fDataString; - public XDebugResourceValue(XDebugVariable variable, Node varNode, String typeName) { super(variable, varNode, typeName); - fDataString=null; } public XDebugResourceValue(XDebugVariable variable, String typeName) { super(variable, typeName); - fDataString=null; } - public void setType(String typeName) { fType = XDebugAbstractValue.VALUETYPE_RESOURCE; fTypeName = typeName; } public void renderValueString(String data) { - fDataString = data; - fValueString = "\""+data+"\""; + fValueString = "\"" + data + "\""; } public boolean supportsValueModification() { return true; } - /*public String toString() { - return fDataString; - }*/ - - /*public String toString() { - return null; - }*/ - public boolean verifyValue(String expression) { return true; } diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStringValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStringValue.java index cce3c52..161d9f1 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStringValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStringValue.java @@ -3,43 +3,30 @@ package net.sourceforge.phpeclipse.xdebug.php.model; import org.w3c.dom.Node; public class XDebugStringValue extends XDebugAbstractValue { - - private String fDataString; public XDebugStringValue(XDebugVariable variable, Node varNode, String typeName) { super(variable, varNode, typeName); - fDataString=null; } public XDebugStringValue(XDebugVariable variable, String typeName) { super(variable, typeName); - fDataString=null; } public void setType(String typeName) { - fType=XDebugAbstractValue.VALUETYPE_STRING; - fTypeName=typeName; - + fType = XDebugAbstractValue.VALUETYPE_STRING; + fTypeName = typeName; } public void renderValueString(String data) { - fDataString=data; - fValueString="\""+data+"\""; + fValueString = "\"" + data + "\""; } public boolean supportsValueModification() { return true; } - - /*public String toString() { - return null; //fDataString; - }*/ - public boolean verifyValue(String expression) { - // TODO Auto-generated method stub return true; } - } -- 1.7.1