1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 15:25:49 +02:00

Incorrect casting int the "setChanged" method of CVariable.

This commit is contained in:
Mikhail Khodjaiants 2003-06-18 20:59:15 +00:00
parent 5ef908593a
commit 61f80b02fe
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-06-18 Mikhail Khodjaiants
Incorrect casting in the 'setChanged' method of CVariable.
* CVariable.java
2003-06-11 Mikhail Khodjaiants 2003-06-11 Mikhail Khodjaiants
The unused 'getUnderlyingValueString' method has been removed from ICValue and CValue. The unused 'getUnderlyingValueString' method has been removed from ICValue and CValue.
The methods 'setChanged' and 'getUnderlyingValue' are only for internal usage and The methods 'setChanged' and 'getUnderlyingValue' are only for internal usage and

View file

@ -267,7 +267,7 @@ public abstract class CVariable extends CDebugElement
protected synchronized void setChanged( boolean changed ) throws DebugException protected synchronized void setChanged( boolean changed ) throws DebugException
{ {
if ( getValue() != null && getValue() instanceof ICValue ) if ( getValue() != null && getValue() instanceof CValue )
{ {
fChanged = changed; fChanged = changed;
((CValue)getValue()).setChanged( changed ); ((CValue)getValue()).setChanged( changed );