From 6557fe0688052df5efedd950274c196038f46d5c Mon Sep 17 00:00:00 2001 From: Nate Jensen Date: Tue, 5 Jun 2012 10:50:08 -0500 Subject: [PATCH] Issue #427 cleanup Change-Id: Ieeb03e0f7457ee7dceb6241b61340e364b5aab48 Former-commit-id: 7f6bc2df93f8b71e0cec561a2a41dc20899f5e41 [formerly 49d468829654697d266a551452edf6a2de66edce] Former-commit-id: 240dac19bae6a7c9f674a16aa41aefa4be58d260 --- .../viz/collaboration/ui/CollaborationGroupView.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/CollaborationGroupView.java b/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/CollaborationGroupView.java index aa92709faf..57987d1f18 100644 --- a/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/CollaborationGroupView.java +++ b/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/CollaborationGroupView.java @@ -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); + } } } }