Fixed NullPointerException when a version not exists.

This commit is contained in:
huangyuhui
2016-03-15 18:49:31 +08:00
parent cafcf458b8
commit f6d5dd5a82
5 changed files with 12 additions and 5 deletions

View File

@@ -322,7 +322,8 @@ public class TaskWindow extends javax.swing.JDialog
boolean flag;
public TaskWindowFactory append(Task t) {
ll.add(t);
if (t != null)
ll.add(t);
return this;
}