From 61f80b02fe369a0e838f4c5f17bf983e2f7656aa Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Wed, 18 Jun 2003 20:59:15 +0000 Subject: [PATCH] Incorrect casting int the "setChanged" method of CVariable. --- debug/org.eclipse.cdt.debug.core/ChangeLog | 4 ++++ .../org/eclipse/cdt/debug/internal/core/model/CVariable.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debug/org.eclipse.cdt.debug.core/ChangeLog b/debug/org.eclipse.cdt.debug.core/ChangeLog index c59604db867..13befddef65 100644 --- a/debug/org.eclipse.cdt.debug.core/ChangeLog +++ b/debug/org.eclipse.cdt.debug.core/ChangeLog @@ -1,3 +1,7 @@ +2003-06-18 Mikhail Khodjaiants + Incorrect casting in the 'setChanged' method of CVariable. + * CVariable.java + 2003-06-11 Mikhail Khodjaiants The unused 'getUnderlyingValueString' method has been removed from ICValue and CValue. The methods 'setChanged' and 'getUnderlyingValue' are only for internal usage and diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java index 4225dab1301..3c7d86529cb 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CVariable.java @@ -267,7 +267,7 @@ public abstract class CVariable extends CDebugElement protected synchronized void setChanged( boolean changed ) throws DebugException { - if ( getValue() != null && getValue() instanceof ICValue ) + if ( getValue() != null && getValue() instanceof CValue ) { fChanged = changed; ((CValue)getValue()).setChanged( changed );