mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 01:35:39 +02:00
compilation warnings, unnecessary null check
This commit is contained in:
parent
f50f3209a0
commit
c6f2dac626
1 changed files with 2 additions and 2 deletions
|
@ -144,7 +144,7 @@ public class MakeContentProvider implements ITreeContentProvider, IMakeTargetLis
|
|||
ctrl.getDisplay().asyncExec(new Runnable() {
|
||||
|
||||
public void run() {
|
||||
if (ctrl != null && !ctrl.isDisposed()) {
|
||||
if (!ctrl.isDisposed()) {
|
||||
viewer.refresh();
|
||||
}
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ public class MakeContentProvider implements ITreeContentProvider, IMakeTargetLis
|
|||
ctrl.getDisplay().asyncExec(new Runnable() {
|
||||
|
||||
public void run() {
|
||||
if (ctrl != null && !ctrl.isDisposed()) {
|
||||
if (!ctrl.isDisposed()) {
|
||||
if (bFlatten) {
|
||||
viewer.refresh();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue