Issue #427 cleanup
Change-Id: Ieeb03e0f7457ee7dceb6241b61340e364b5aab48 Former-commit-id:7f6bc2df93
[formerly 49d468829654697d266a551452edf6a2de66edce] Former-commit-id:240dac19ba
This commit is contained in:
parent
7915f5edf2
commit
6557fe0688
1 changed files with 3 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue