Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java')
-rw-r--r--tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java84
1 files changed, 42 insertions, 42 deletions
diff --git a/tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java b/tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java
index 9a73b3f54..752bcf02d 100644
--- a/tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java
+++ b/tests/org.eclipse.etrice.etunit.converter.tests/src/org/eclipse/etrice/etunit/converter/tests/Activator.java
@@ -1,42 +1,42 @@
-package org.eclipse.etrice.etunit.converter.tests;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class Activator extends Plugin implements BundleActivator {
-
- private static Activator instance = null;
-
- private static BundleContext context;
-
- static BundleContext getContext() {
- return context;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext bundleContext) throws Exception {
- super.start(bundleContext);
-
- Activator.context = bundleContext;
- instance = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext bundleContext) throws Exception {
- instance = null;
- Activator.context = null;
-
- super.stop(bundleContext);
- }
-
- public static Activator getInstance() {
- return instance;
- }
-}
+package org.eclipse.etrice.etunit.converter.tests;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator extends Plugin implements BundleActivator {
+
+ private static Activator instance = null;
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ super.start(bundleContext);
+
+ Activator.context = bundleContext;
+ instance = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ instance = null;
+ Activator.context = null;
+
+ super.stop(bundleContext);
+ }
+
+ public static Activator getInstance() {
+ return instance;
+ }
+}

Back to the top