1
0
Fork 0
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:
Andrew Gvozdev 2009-08-05 21:20:22 +00:00
parent f50f3209a0
commit c6f2dac626

View file

@ -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 {