mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
The input member of 'DisassemblyAnnotationModel' can be null.
This commit is contained in:
parent
0a710a5566
commit
63dc1031e9
2 changed files with 13 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-05-12 Mikhail Khodjaiants
|
||||||
|
The input member of 'DisassemblyAnnotationModel' can be null.
|
||||||
|
* DisassemblyAnnotationModel.java
|
||||||
|
|
||||||
2004-05-12 Mikhail Khodjaiants
|
2004-05-12 Mikhail Khodjaiants
|
||||||
Do not log CoreException thrown from the 'decrementInstallCount' method.
|
Do not log CoreException thrown from the 'decrementInstallCount' method.
|
||||||
* CBreakpointUpdater.java
|
* CBreakpointUpdater.java
|
||||||
|
|
|
@ -45,8 +45,9 @@ public class DisassemblyAnnotationModel extends AnnotationModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void breakpointsAdded( final IBreakpoint[] breakpoints, final IDocument document ) {
|
protected void breakpointsAdded( final IBreakpoint[] breakpoints, final IDocument document ) {
|
||||||
if ( getInput().equals( DisassemblyEditorInput.EMPTY_EDITOR_INPUT ) ||
|
DisassemblyEditorInput input = getInput();
|
||||||
getInput().equals( DisassemblyEditorInput.PENDING_EDITOR_INPUT ) )
|
if ( DisassemblyEditorInput.EMPTY_EDITOR_INPUT.equals( input ) ||
|
||||||
|
DisassemblyEditorInput.PENDING_EDITOR_INPUT.equals( input ) )
|
||||||
return;
|
return;
|
||||||
asyncExec( new Runnable() {
|
asyncExec( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -56,8 +57,9 @@ public class DisassemblyAnnotationModel extends AnnotationModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void breakpointsRemoved( final IBreakpoint[] breakpoints, final IDocument document ) {
|
protected void breakpointsRemoved( final IBreakpoint[] breakpoints, final IDocument document ) {
|
||||||
if ( getInput().equals( DisassemblyEditorInput.EMPTY_EDITOR_INPUT ) ||
|
DisassemblyEditorInput input = getInput();
|
||||||
getInput().equals( DisassemblyEditorInput.PENDING_EDITOR_INPUT ) )
|
if ( DisassemblyEditorInput.EMPTY_EDITOR_INPUT.equals( input ) ||
|
||||||
|
DisassemblyEditorInput.PENDING_EDITOR_INPUT.equals( input ) )
|
||||||
return;
|
return;
|
||||||
asyncExec( new Runnable() {
|
asyncExec( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -67,8 +69,9 @@ public class DisassemblyAnnotationModel extends AnnotationModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void breakpointsChanged( final IBreakpoint[] breakpoints, final IDocument document ) {
|
protected void breakpointsChanged( final IBreakpoint[] breakpoints, final IDocument document ) {
|
||||||
if ( getInput().equals( DisassemblyEditorInput.EMPTY_EDITOR_INPUT ) ||
|
DisassemblyEditorInput input = getInput();
|
||||||
getInput().equals( DisassemblyEditorInput.PENDING_EDITOR_INPUT ) )
|
if ( DisassemblyEditorInput.EMPTY_EDITOR_INPUT.equals( input ) ||
|
||||||
|
DisassemblyEditorInput.PENDING_EDITOR_INPUT.equals( input ) )
|
||||||
return;
|
return;
|
||||||
asyncExec( new Runnable() {
|
asyncExec( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue