X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java index 37494f7..5056d77 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugAbstractValue.java @@ -146,10 +146,6 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal return (fVariables.length > 0); } - public boolean isArray() { - return ((fType & VALUETYPE_ARRAY) > 0); - } - public abstract void setType(String typeName); public abstract void renderValueString(String data); @@ -158,10 +154,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; } @@ -243,7 +239,7 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal fhasChanged = true; } } catch (Exception e) { - int b = 1; + //int b = 1; } } if (fhasChanged) { @@ -252,7 +248,7 @@ public abstract class XDebugAbstractValue extends XDebugElement implements IVal try { fVariables[i].setValue(newVariable[i].getValue()); } catch (Exception e) { - int b = 1; + //int b = 1; } } }