<commit_before>package de.tudresden.inf.lat.born.main;

import java.util.List;
import java.util.Objects;

import org.semanticweb.owlapi.model.OWLOntologyChange;
import org.semanticweb.owlapi.model.OWLOntologyChangeListener;
import org.semanticweb.owlapi.model.OWLOntologyLoaderListener;
import org.semanticweb.owlapi.model.OWLOntologyManager;

import de.tudresden.inf.lat.born.gui.BornController;
import de.tudresden.inf.lat.born.gui.BornModelImpl;
import de.tudresden.inf.lat.born.gui.BornPanel;

/**
 * This is used to start the system.
 * 
 * @author <NAME>
 */
public class BornStarter implements OWLOntologyChangeListener, OWLOntologyLoaderListener {

	private static final long serialVersionUID = 3923893802046694090L;
	private final OWLOntologyManager ontologyManager;
	private final BornController panel;

	/**
	 * Constructs a new starter.
	 * 
	 * @param manager
	 *            OWL ontology manager
	 */
	public BornStarter(OWLOntologyManager manager) {
		Objects.requireNonNull(manager);
		this.ontologyManager = manager;
		this.panel = new BornController(new BornPanel(new BornModelImpl()), this.ontologyManager);
		getOWLOntologyManager().addOntologyLoaderListener(this);
		getOWLOntologyManager().addOntologyChangeListener(this);
	}

	@Override
	public void finishedLoadingOntology(LoadingFinishedEvent event) {
		Objects.requireNonNull(event);
		// TODO
	}

	/**
	 * Returns the OWL ontology manager.
	 * 
	 * @return the OWL ontology manager
	 */
	public OWLOntologyManager getOWLOntologyManager() {
		return this.ontologyManager;
	}

	/**
	 * Returns the panel.
	 * 
	 * @return the panel
	 */
	public BornController getPanel() {
		return this.panel;
	}

	@Override
	public void ontologiesChanged(List<? extends OWLOntologyChange> change) {<commit_msg>Make minor change<commit_after>package de.tudresden.inf.lat.born.main;

import java.util.List;
import java.util.Objects;

import org.semanticweb.owlapi.model.OWLOntologyChange;
import org.semanticweb.owlapi.model.OWLOntologyChangeListener;
import org.semanticweb.owlapi.model.OWLOntologyLoaderListener;
import org.semanticweb.owlapi.model.OWLOntologyManager;

import de.tudresden.inf.lat.born.gui.BornController;
import de.tudresden.inf.lat.born.gui.BornModelImpl;
import de.tudresden.inf.lat.born.gui.BornPanel;

/**
 * This is used to start the system.
 * 
 * @author <NAME>
 */
public class BornStarter implements OWLOntologyChangeListener, OWLOntologyLoaderListener {

	private static final long serialVersionUID = 3923893802046694090L;
	private final OWLOntologyManager ontologyManager;
	private final BornController panel;

	/**
	 * Constructs a new starter.
	 * 
	 * @param manager
	 *            OWL ontology manager
	 */
	public BornStarter(OWLOntologyManager manager) {
		this.ontologyManager = Objects.requireNonNull(manager, "Ontology manager must not be null");
		this.panel = new BornController(new BornPanel(new BornModelImpl()), this.ontologyManager);
		getOWLOntologyManager().addOntologyLoaderListener(this);
		getOWLOntologyManager().addOntologyChangeListener(this);
	}

	@Override
	public void finishedLoadingOntology(LoadingFinishedEvent event) {
		Objects.requireNonNull(event);
		// TODO
	}

	/**
	 * Returns the OWL ontology manager.
	 * 
	 * @return the OWL ontology manager
	 */
	public OWLOntologyManager getOWLOntologyManager() {
		return this.ontologyManager;
	}

	/**
	 * Returns the panel.
	 * 
	 * @return the panel
	 */
	public BornController getPanel() {
		return this.panel;
	}

	@Override
	public void ontologiesChanged(List<? extends OWLOntologyChange> change) {
{'fraction_non_alphanumeric': 0.0952914798206278, 'fraction_numerical': 0.010650224215246636, 'mean_word_length': 4.850819672131148, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1117055', 'n_tokens_mistral': 1235, 'n_tokens_neox': 1128, 'n_words': 231}