Issue #427 cleanup

Change-Id: Ieeb03e0f7457ee7dceb6241b61340e364b5aab48

Former-commit-id: 7f6bc2df93 [formerly 49d468829654697d266a551452edf6a2de66edce]
Former-commit-id: 240dac19ba
This commit is contained in:
Nate Jensen 2012-06-05 10:50:08 -05:00
parent 7915f5edf2
commit 6557fe0688

View file

@ -1444,18 +1444,12 @@ public class CollaborationGroupView extends CaveFloatingView implements
if (topOb instanceof IRosterGroup) {
IRosterGroup topGroup = (IRosterGroup) topOb;
if (topGroup.getName().equals(group.getName())) {
System.out.println("Created is true : " + group.getName()
+ " / " + topGroup.getName());
created = true;
break;
} else {
System.out.println("Created is false : " + group.getName()
+ " / " + topGroup.getName());
}
}
}
if (!created) {
System.out.println("creating group : " + group.getName());
topLevel.addObject(group);
}
}
@ -1523,7 +1517,9 @@ public class CollaborationGroupView extends CaveFloatingView implements
if (assocEditor != null) {
IWorkbenchPage page = VizWorkbenchManager.getInstance()
.getCurrentWindow().getActivePage();
page.closeEditor(assocEditor, false);
if (page != null) {
page.closeEditor(assocEditor, false);
}
}
}
}