<commit_before>package com.puresol.coding.lang.fortran;

import org.apache.log4j.Logger;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import com.puresol.coding.ProgrammingLanguages;

/**
 * This class is used as OSGi bundle activator. This class only registers and
 * unregisters itself int the central ProgrammingLanguages object.
 * 
 * @author <NAME>
 * 
 */
public class Activator implements BundleActivator {

	private static final Logger logger = Logger.getLogger(Activator.class);

	@Override
	public void start(BundleContext context) throws Exception {
		logger.info("Starting FortranLanguagePack...");
		ProgrammingLanguages.getInstance().registerLanguage(
				Fortran.getInstance());
		logger.info("Started.");
	}

	@Override
	public void stop(BundleContext context) throws Exception {
		logger.info("Stopping FortranLanguagePack...");
		ProgrammingLanguages.getInstance().unregisterLanguage(
				Fortran.getInstance());
		logger.info("Stopped.");
	}

}<commit_msg>- new OSGIServiceManager interface - changed current Managers to interface and refactored them<commit_after>package com.puresol.coding.lang.fortran;

import org.apache.log4j.Logger;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import com.puresol.coding.ProgrammingLanguageManager;

/**
 * This class is used as OSGi bundle activator. This class only registers and
 * unregisters itself int the central ProgrammingLanguages object.
 * 
 * @author <NAME>
 * 
 */
public class Activator implements BundleActivator {

	private static final Logger logger = Logger.getLogger(Activator.class);

	@Override
	public void start(BundleContext context) throws Exception {
		logger.info("Starting FortranLanguagePack...");
		ProgrammingLanguageManager.getInstance().register(
				Fortran.getInstance());
		logger.info("Started.");
	}

	@Override
	public void stop(BundleContext context) throws Exception {
		logger.info("Stopping FortranLanguagePack...");
		ProgrammingLanguageManager.getInstance().unregister(
				Fortran.getInstance());
		logger.info("Stopped.");
	}

}
{'fraction_non_alphanumeric': 0.10411736867013724, 'fraction_numerical': 0.000946521533364884, 'mean_word_length': 5.23598820058997, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2400451', 'n_tokens_mistral': 624, 'n_tokens_neox': 570, 'n_words': 145}