X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.backup.ontology%2Fsrc%2Forg%2Fsimantics%2Fbackup%2Fontology%2FActivator.java;h=7dfed1fb8483e7b0f202b3b497ae884067a74c85;hp=f0090a6935a1e7b2566c0ce81a36b42e7e222b35;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.backup.ontology/src/org/simantics/backup/ontology/Activator.java b/bundles/org.simantics.backup.ontology/src/org/simantics/backup/ontology/Activator.java index f0090a693..7dfed1fb8 100644 --- a/bundles/org.simantics.backup.ontology/src/org/simantics/backup/ontology/Activator.java +++ b/bundles/org.simantics.backup.ontology/src/org/simantics/backup/ontology/Activator.java @@ -1,30 +1,30 @@ -package org.simantics.backup.ontology; - -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; - -public class Activator implements BundleActivator { - - 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 { - Activator.context = bundleContext; - } - - /* - * (non-Javadoc) - * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) - */ - public void stop(BundleContext bundleContext) throws Exception { - Activator.context = null; - } - -} +package org.simantics.backup.ontology; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + + 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 { + Activator.context = bundleContext; + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext bundleContext) throws Exception { + Activator.context = null; + } + +}