<commit_before>package application;

import java.io.File;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.URI;
import java.net.URISyntaxException;
import java.rmi.server.RMISocketFactory;
import java.util.ArrayList;
import java.util.Optional;
import java.util.Scanner;
import java.util.logging.Level;

import data.Favourites;
import data.PastUsernames;
import data.SQLDatabase;
import data.SampServer;
import gui.controllers.MainController;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.ButtonType;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import logging.Logging;
import util.FileUtility;
import util.windows.OSInfo;

public class BrowserMain extends Application
{
	public static final String	APPLICATION_NAME	= "SA-MP Client Extension";

	private static final String	VERSION				= "1.0.19";

	@Override
	public void start(final Stage primaryStage)
	{
		checkOperatingSystemCompatibility();

		checkVersion();

		prepareData();

		setRMISocketFactory();

		loadUI(primaryStage);
	}

	private void loadUI(final Stage primaryStage)
	{
		final FXMLLoader loader = new FXMLLoader();
		loader.setLocation(getClass().getResource("/views/Main.fxml"));
		final MainController controller = new MainController();
		loader.setController(controller);
		try
		{
			final Parent root = loader.load();
			final Scene scene = new Scene(root);
			primaryStage.setScene(scene);
			primaryStage.getScene().getStylesheets().add(getClass().getResource("/views/style.css").toExternalForm());
			primaryStage.getIcons().add(new Image(this.getClass().getResourceAsStream("/icons/icon.png")));
			primaryStage.setTitle(APPLICATION_NAME);
			primaryStage.show();<commit_msg>Update Versionnumber<commit_after>package application;

import java.io.File;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.URI;
import java.net.URISyntaxException;
import java.rmi.server.RMISocketFactory;
import java.util.ArrayList;
import java.util.Optional;
import java.util.Scanner;
import java.util.logging.Level;

import data.Favourites;
import data.PastUsernames;
import data.SQLDatabase;
import data.SampServer;
import gui.controllers.MainController;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Alert;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.control.ButtonType;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import logging.Logging;
import util.FileUtility;
import util.windows.OSInfo;

public class BrowserMain extends Application
{
	public static final String	APPLICATION_NAME	= "SA-MP Client Extension";

	private static final String	VERSION				= "1.1.0";

	@Override
	public void start(final Stage primaryStage)
	{
		checkOperatingSystemCompatibility();

		checkVersion();

		prepareData();

		setRMISocketFactory();

		loadUI(primaryStage);
	}

	private void loadUI(final Stage primaryStage)
	{
		final FXMLLoader loader = new FXMLLoader();
		loader.setLocation(getClass().getResource("/views/Main.fxml"));
		final MainController controller = new MainController();
		loader.setController(controller);
		try
		{
			final Parent root = loader.load();
			final Scene scene = new Scene(root);
			primaryStage.setScene(scene);
			primaryStage.getScene().getStylesheets().add(getClass().getResource("/views/style.css").toExternalForm());
			primaryStage.getIcons().add(new Image(this.getClass().getResourceAsStream("/icons/icon.png")));
			primaryStage.setTitle(APPLICATION_NAME);
			primaryStage.show();
{'fraction_non_alphanumeric': 0.11231324059763009, 'fraction_numerical': 0.0018031942297784646, 'mean_word_length': 5.812280701754386, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1684771', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1174, 'n_words': 246}