Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-02-03 22:33:22 +0000
committerMichael Valenta2003-02-03 22:33:22 +0000
commit4cbda3381c5cd8293174bd63b1c9fe2edeed132c (patch)
tree1913a19b8937ed0132ffe22623fae2ccd5af71bf
parentd2581fc1f40eea57ccb565a5be3d6c6ec77d0d46 (diff)
downloadeclipse.platform.team-4cbda3381c5cd8293174bd63b1c9fe2edeed132c.tar.gz
eclipse.platform.team-4cbda3381c5cd8293174bd63b1c9fe2edeed132c.tar.xz
eclipse.platform.team-4cbda3381c5cd8293174bd63b1c9fe2edeed132c.zip
Removed workaround
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/SyncView.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/SyncView.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/SyncView.java
index 744f8eb07..51d02916e 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/SyncView.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/sync/SyncView.java
@@ -114,8 +114,6 @@ public class SyncView extends ViewPart {
private IPartListener partListener;
- private boolean initialized = false;
-
/**
* Creates a new view.
*/
@@ -148,7 +146,6 @@ public class SyncView extends ViewPart {
partListener = new PartListener();
getViewSite().getWorkbenchWindow().getPartService().addPartListener(partListener);
WorkbenchHelp.setHelp(top, IHelpContextIds.SYNC_VIEW);
- initialized = true;
}
public void dispose() {
@@ -172,7 +169,7 @@ public class SyncView extends ViewPart {
if (activePage == null) return null;
}
IViewPart part = activePage.findView(VIEW_ID);
- if (part == null || !((SyncView)part).initialized)
+ if (part == null)
part = activePage.showView(VIEW_ID);
return (SyncView)part;
} catch (PartInitException pe) {

Back to the top