Issue #427 cleanup
Change-Id: Ieeb03e0f7457ee7dceb6241b61340e364b5aab48 Former-commit-id:9d713d849c
[formerly7f6bc2df93
] [formerly9d713d849c
[formerly7f6bc2df93
] [formerly240dac19ba
[formerly 49d468829654697d266a551452edf6a2de66edce]]] Former-commit-id:240dac19ba
Former-commit-id:dcfbaad52e
[formerly6557fe0688
] Former-commit-id:03607065a5
This commit is contained in:
parent
35b35a0696
commit
590a40ac9f
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