<commit_before>package nl.mpi.arbil.wicket;

import java.io.File;
import nl.mpi.arbil.util.MessageDialogHandler;
import org.apache.wicket.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public class ArbilWicketMessageDialogHandler implements MessageDialogHandler {

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

    public void addMessageDialogToQueue(String messageString, String messageTitle) {
	logger.info(String.format("Message: [%1$s] %2$s", messageTitle, messageString));
	Session.get().info(String.format("Message: [%1$s] %2$s", messageTitle, messageString));
    }

    public boolean showConfirmDialogBox(String messageString, String messageTitle) {
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public int showDialogBox(String message, String title, int optionType, int messageType) {
	logger.info(String.format("Dialog box: [%1$s] %2$s", title, message));
	Session.get().info(String.format("Message: [%1$s] %2$s", title, message));
	return 0;
    }

    public File[] showFileSelectBox(String titleText, boolean directorySelectOnly, boolean multipleSelect, boolean requireMetadataFiles) {
	logger.info("showFileSelectBox");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public File showEmptyExportDirectoryDialogue(String titleText) {
	logger.info("showEmptyExportDirectoryDialogue");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public void offerUserToSaveChanges() throws Exception {
	logger.info("offerUserToSaveChanges");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean askUserToSaveChanges(String entityName) {
	logger.info("askUserToSaveChanges");
	throw new UnsupportedOperationException("Not supported yet.");
    }
}<commit_msg>ArbilWicketMessageDialogHandler implements new option dialog method from interface<commit_after>package nl.mpi.arbil.wicket;

import java.io.File;
import nl.mpi.arbil.util.MessageDialogHandler;
import org.apache.wicket.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public class ArbilWicketMessageDialogHandler implements MessageDialogHandler {

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

    public void addMessageDialogToQueue(String messageString, String messageTitle) {
	logger.info(String.format("Message: [%1$s] %2$s", messageTitle, messageString));
	Session.get().info(String.format("Message: [%1$s] %2$s", messageTitle, messageString));
    }

    public boolean showConfirmDialogBox(String messageString, String messageTitle) {
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public int showDialogBox(String message, String title, int optionType, int messageType) {
	logger.info(String.format("Dialog box: [%1$s] %2$s", title, message));
	Session.get().info(String.format("Message: [%1$s] %2$s", title, message));
	return 0;
    }

    public int showDialogBox(String message, String title, int optionType, int messageType, Object[] options, Object initialValue) {
	logger.info(String.format("Dialog box: [%1$s] %2$s | %3$s", title, message, options.toString()));
	Session.get().info(String.format("Message: [%1$s] %2$s | %3$s", title, message, options.toString()));
	return 0;
    }

    public File[] showFileSelectBox(String titleText, boolean directorySelectOnly, boolean multipleSelect, boolean requireMetadataFiles) {
	logger.info("showFileSelectBox");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public File showEmptyExportDirectoryDialogue(String titleText) {
	logger.info("showEmptyExportDirectoryDialogue");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public void offerUserToSaveChanges() throws Exception {
	logger.info("offerUserToSaveChanges");
	throw new UnsupportedOperationException("Not supported yet.");
    }

    public boolean askUserToSaveChanges(String entityName) {
	logger.info("askUserToSaveChanges");
	throw new UnsupportedOperationException("Not supported yet.");
    }
}
{'fraction_non_alphanumeric': 0.11883301707779886, 'fraction_numerical': 0.006878557874762809, 'mean_word_length': 6.028333333333333, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '1223199', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1180, 'n_words': 284}