X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2Finternal%2FActivator.java;h=fc58adee2399d5cd71fdda505afab8913c40e59a;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=e07fa5863c77551f9c2d7625715d3b1fa1ad056f;hpb=d77257f045bacb676d276fe3a702e43e3a4eada3;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.export.core/src/org/simantics/export/core/internal/Activator.java b/bundles/org.simantics.export.core/src/org/simantics/export/core/internal/Activator.java index e07fa5863..fc58adee2 100644 --- a/bundles/org.simantics.export.core/src/org/simantics/export/core/internal/Activator.java +++ b/bundles/org.simantics.export.core/src/org/simantics/export/core/internal/Activator.java @@ -1,28 +1,28 @@ -package org.simantics.export.core.internal; - -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; - -/** - * @author Tuukka Lehtonen - * @since 1.22.2 - */ -public class Activator implements BundleActivator { - - private static BundleContext context; - - public static BundleContext getContext() { - return context; - } - - @Override - public void start(BundleContext context) throws Exception { - Activator.context = context; - } - - @Override - public void stop(BundleContext context) throws Exception { - Activator.context = null; - } - -} +package org.simantics.export.core.internal; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +/** + * @author Tuukka Lehtonen + * @since 1.22.2 + */ +public class Activator implements BundleActivator { + + private static BundleContext context; + + public static BundleContext getContext() { + return context; + } + + @Override + public void start(BundleContext context) throws Exception { + Activator.context = context; + } + + @Override + public void stop(BundleContext context) throws Exception { + Activator.context = null; + } + +}