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:
parent
a2b60dcd5b
commit
dbb919826d
2 changed files with 4 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue