X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.backup.db%2Fsrc%2Forg%2Fsimantics%2Fbackup%2Fdb%2FActivator.java;h=8ea2f6890aee0ffe862a34bc30822015fbc21883;hb=9c1b0bdc646d2e91526e49fd9233c2eb0c243019;hp=8f87f9a30b2b37e26a881a623b811998f21b423c;hpb=26c1b8068623e1ca4ae711349c2eecc62bf7becd;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.backup.db/src/org/simantics/backup/db/Activator.java b/bundles/org.simantics.backup.db/src/org/simantics/backup/db/Activator.java index 8f87f9a30..8ea2f6890 100644 --- a/bundles/org.simantics.backup.db/src/org/simantics/backup/db/Activator.java +++ b/bundles/org.simantics.backup.db/src/org/simantics/backup/db/Activator.java @@ -1,30 +1,30 @@ -package org.simantics.backup.db; - -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.db; + +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; + } + +}