Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-05-13 17:36:51 -0400
committerTom Schindl2014-05-13 17:36:51 -0400
commit25dad7565cf24cf4cd936683b910e74d206bb5fb (patch)
treed529a64c100c80ba411966b50f3777a18efdac4c
parente88ae333e3a517645209eae19c1e84757624d49a (diff)
downloadorg.eclipse.efxclipse-25dad7565cf24cf4cd936683b910e74d206bb5fb.tar.gz
org.eclipse.efxclipse-25dad7565cf24cf4cd936683b910e74d206bb5fb.tar.xz
org.eclipse.efxclipse-25dad7565cf24cf4cd936683b910e74d206bb5fb.zip
Bug 434803 - Upgrade to jdt.annotation 2.0
-rwxr-xr-xbundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/Activator.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/Activator.java b/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/Activator.java
index 74e0b8b79..2eedd8dcc 100755
--- a/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/Activator.java
+++ b/bundles/tooling/org.eclipse.fx.ide.pde.ui/src/org/eclipse/fx/ide/pde/ui/Activator.java
@@ -12,6 +12,7 @@ package org.eclipse.fx.ide.pde.ui;
import java.net.URL;
+import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
import org.osgi.framework.ServiceReference;
@@ -47,7 +48,7 @@ public class Activator extends AbstractUIPlugin {
super.stop(context);
}
- public <S> S acquireService(Class<S> serviceClass) {
+ public <@Nullable S> S acquireService(Class<S> serviceClass) {
ServiceReference<S> reference = getBundle().getBundleContext().getServiceReference(serviceClass);
if (reference == null)
return null;

Back to the top