Removed unused member fDataString.
authorincastrix <incastrix>
Tue, 16 Sep 2008 17:55:22 +0000 (17:55 +0000)
committerincastrix <incastrix>
Tue, 16 Sep 2008 17:55:22 +0000 (17:55 +0000)
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugResourceValue.java
net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugStringValue.java

index 34faf17..4da322e 100644 (file)
@@ -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;
        }
index cce3c52..161d9f1 100644 (file)
@@ -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;
        }
-
 }