1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Removed state validation from CDebugElement.

This commit is contained in:
Mikhail Khodjaiants 2004-07-21 15:08:59 +00:00
parent a2b60dcd5b
commit dbb919826d
2 changed files with 4 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2004-07-21 Mikhail Khodjaiants
Removed state validation from CDebugElement.
* CDebugTarget.java
2004-07-20 Mikhail Khodjaiants
Added new state - "STEPPED".
* CDebugElementState.java

View file

@ -336,14 +336,7 @@ abstract public class CDebugElement extends PlatformObject implements ICDebugEle
return fState;
}
protected boolean isValidState( CDebugElementState state ) {
return true;
}
protected void setState( CDebugElementState state ) throws IllegalArgumentException {
if ( !isValidState( state ) ) {
throw new IllegalArgumentException( state.toString() );
}
fState = state;
}