From: incastrix Date: Tue, 16 Sep 2008 17:55:22 +0000 (+0000) Subject: Removed unused member fDataString. X-Git-Url: http://git.phpeclipse.com Removed unused member fDataString. --- 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; } - }