<commit_before>package org.csstudio.nams.configurator;

import org.csstudio.ams.configurationStoreService.declaration.ConfigurationEditingStoreService;
import org.csstudio.ams.configurationStoreService.declaration.ConfigurationStoreService;
import org.csstudio.ams.service.logging.declaration.Logger;
import org.csstudio.nams.configurator.testutils.AbstractBundleActivator;
import org.csstudio.nams.configurator.testutils.OSGiBundleActivationMethod;
import org.csstudio.nams.configurator.testutils.OSGiService;
import org.csstudio.nams.configurator.testutils.Required;
import org.csstudio.nams.configurator.treeviewer.ConfigurationTreeView;
import org.osgi.framework.BundleActivator;

/**
 * The activator class controls the bundles life cycle
 */
public class Activator extends AbstractBundleActivator implements
		BundleActivator {

	/**
	 * The plug-in ID
	 */
	public static final String PLUGIN_ID = "org.csstudio.nams.configurator";

	/**
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
	 */
	@OSGiBundleActivationMethod
	public void bundleStart(
			@OSGiService @Required ConfigurationEditingStoreService editingStoreService,
			@OSGiService @Required ConfigurationStoreService storeService,
			@OSGiService @Required Logger logger
	) {
		// for debugging : Alle Services injected?
		if (editingStoreService != null && storeService != null
				&& logger != null) {
			logger.logInfoMessage(this, "activated...");
		}

		// Inject into extension classes.
		ConfigurationTreeView
				.staticInjectEditingStoreService(editingStoreService);
		ConfigurationTreeView.staticInjectStoreService(storeService);
		ConfigurationTreeView.staticInjectLogger(logger);
	}
}<commit_msg>*** empty log message ***<commit_after>package org.csstudio.nams.configurator;

import org.csstudio.ams.configurationStoreService.declaration.ConfigurationEditingStoreService;
import org.csstudio.ams.configurationStoreService.declaration.ConfigurationStoreService;
import org.csstudio.ams.service.logging.declaration.Logger;
import org.csstudio.nams.configurator.testutils.AbstractBundleActivator;
import org.csstudio.nams.configurator.testutils.OSGiBundleActivationMethod;
import org.csstudio.nams.configurator.testutils.OSGiService;
import org.csstudio.nams.configurator.testutils.Required;
import org.csstudio.nams.configurator.treeviewer.ConfigurationTreeView;
import org.osgi.framework.BundleActivator;

/**
 * The activator class controls the bundles life cycle
 */
public class Activator extends AbstractBundleActivator implements
		BundleActivator {

	/**
	 * The plug-in ID
	 */
	public static final String PLUGIN_ID = "org.csstudio.nams.configurator";

	/**
	 * The constructor
	 */
	public Activator() {
	}

	/**
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
	 */
	// public void start(BundleContext context) throws Exception {
	@OSGiBundleActivationMethod
	public void bundleStart(@OSGiService
	@Required
	ConfigurationEditingStoreService editingStoreService, @OSGiService
	@Required
	ConfigurationStoreService storeService, @OSGiService
	@Required
	Logger logger) {

		// ConfigurationEditingStoreService editingStoreService =
		// BundleActivatorUtils.getAvailableService(context,
		// ConfigurationEditingStoreService.class);
		// ConfigurationStoreService storeService =
		// BundleActivatorUtils.getAvailableService(context,
		// ConfigurationStoreService.class);
		// Logger logger = BundleActivatorUtils.getAvailableService(context,
		// Logger.class);

		if (editingStoreService != null && storeService != null
				&& logger != null) {
			logger.logInfoMessage(this, "activated...");
		}

		// Inject into extension classes.
		ConfigurationTreeView
				.staticInjectEditingStoreService(editingStoreService);
		ConfigurationTreeView.staticInjectStoreService(storeService);
		ConfigurationTreeView.staticInjectLogger(logger);
	}

	/**
	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
	 */
	// public void stop(BundleContext context) throws Exception {
	// // nothing to do.
	// }
}
{'fraction_non_alphanumeric': 0.09623839765510503, 'fraction_numerical': 0.0, 'mean_word_length': 5.6911764705882355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4235777', 'n_tokens_mistral': 1246, 'n_tokens_neox': 1166, 'n_words': 199}