aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Wenig2014-03-28 13:56:26 (EDT)
committerLars Vogel2014-03-28 14:45:28 (EDT)
commit445dd82c51142214039ba3051a7f231d35c9c0b4 (patch)
treeac87cec94578de422da4e9f4d565ebdfc86ae716
parent34218ce06f0bdf1f685e995d9f3036398a4ceffb (diff)
downloadeclipse.platform.ui-445dd82c51142214039ba3051a7f231d35c9c0b4.zip
eclipse.platform.ui-445dd82c51142214039ba3051a7f231d35c9c0b4.tar.gz
eclipse.platform.ui-445dd82c51142214039ba3051a7f231d35c9c0b4.tar.bz2
Bug 425962 - [New Contributors] Remove (non-Javadoc) @see statements ifrefs/changes/88/24088/3
@Override is used Change-Id: Iaf2cb2fcb55d7908c10bdde82002f1a810323e84 Signed-off-by: Philip Wenig <philip.wenig@gmx.net>
-rw-r--r--bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/ContextContextService.java32
1 files changed, 6 insertions, 26 deletions
diff --git a/bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/ContextContextService.java b/bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/ContextContextService.java
index d346432..a975891 100644
--- a/bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/ContextContextService.java
+++ b/bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/ContextContextService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2012 IBM Corporation and others.
+ * Copyright (c) 2009, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -38,13 +38,7 @@ public class ContextContextService implements EContextService {
.getName());
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.e4.ui.services.EContextService#activateContext(java.lang.
- * String)
- */
+ @Override
public void activateContext(String id) {
if (deferUpdates) {
deferActivateContext(id);
@@ -79,6 +73,7 @@ public class ContextContextService implements EContextService {
*
* @since 4.2.2
*/
+ @Override
public void deferUpdates(boolean defer) {
if(defer) {
cachingRef ++;
@@ -134,13 +129,7 @@ public class ContextContextService implements EContextService {
eclipseContext.set(LOCAL_CONTEXTS, locals.clone());
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.e4.ui.services.EContextService#deactivateContext(java.lang
- * .String)
- */
+ @Override
public void deactivateContext(String id) {
if (deferUpdates) {
deferDeactivateContext(id);
@@ -167,11 +156,7 @@ public class ContextContextService implements EContextService {
locals.add(id);
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.e4.ui.services.EContextService#getActiveContextIds()
- */
+ @Override
public Collection<String> getActiveContextIds() {
Set<String> set = (Set<String>) eclipseContext
.get(IServiceConstants.ACTIVE_CONTEXTS);
@@ -181,12 +166,7 @@ public class ContextContextService implements EContextService {
return set;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.e4.ui.services.EContextService#getContext(java.lang.String)
- */
+ @Override
public Context getContext(String id) {
Context ctx = contextManager.getContext(id);
return ctx;