Changeset 1185 for trunk


Ignore:
Timestamp:
04/29/13 13:40:04 (12 years ago)
Author:
pharms
Message:
  • remove a find bugs warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-ui-swt/src/main/java/de/ugoe/cs/autoquest/ui/swt/ShowTaskTreeDialog.java

    r1153 r1185  
    283283            TreeItem[] items = parent.getItems(); 
    284284            if ((items == null) || (items.length == 0) || (items[0].getData() == null)) { 
    285                 for (int i = 0; i < items.length; i++) { 
    286                     items[i].dispose(); 
     285                if (items != null) { 
     286                    for (int i = 0; i < items.length; i++) { 
     287                        items[i].dispose(); 
     288                    } 
    287289                } 
    288290 
Note: See TracChangeset for help on using the changeset viewer.