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

import java.net.URI;
import nl.mpi.arbil.data.ArbilDataNode;
import nl.mpi.arbil.util.MimeHashQueue;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public class ArbilWicketMimeHashQueueProxy implements MimeHashQueue{

    private MimeHashQueue getMimeHashQueue(){
	return ArbilWicketSession.get().getMimeHashQueue();
    }
    
    public void addToQueue(ArbilDataNode dataNode) {
	getMimeHashQueue().addToQueue(dataNode);
    }

    public boolean isCheckResourcePermissions() {
	return getMimeHashQueue().isCheckResourcePermissions();
    }

    public void setCheckResourcePermissions(boolean checkResourcePermissions) {
	getMimeHashQueue().setCheckResourcePermissions(checkResourcePermissions);
    }

    public void startMimeHashQueueThread() {
	getMimeHashQueue().startMimeHashQueueThread();
    }

    public void stopMimeHashQueueThread() {
	getMimeHashQueue().stopMimeHashQueueThread();
    }

    public String[] getMimeType(URI fileUri) {
	return getMimeHashQueue().getMimeType(fileUri);
    }
    
}<commit_msg>implemented new interface method for MimeHashQueue in proxy implementation<commit_after>package nl.mpi.arbil.wicket;

import java.net.URI;
import nl.mpi.arbil.data.ArbilDataNode;
import nl.mpi.arbil.util.MimeHashQueue;

/**
 *
 * @author <NAME> <<EMAIL>>
 */
public class ArbilWicketMimeHashQueueProxy implements MimeHashQueue{

    private MimeHashQueue getMimeHashQueue(){
	return ArbilWicketSession.get().getMimeHashQueue();
    }
    
    public void addToQueue(ArbilDataNode dataNode) {
	getMimeHashQueue().addToQueue(dataNode);
    }

    public boolean isCheckResourcePermissions() {
	return getMimeHashQueue().isCheckResourcePermissions();
    }

    public void setCheckResourcePermissions(boolean checkResourcePermissions) {
	getMimeHashQueue().setCheckResourcePermissions(checkResourcePermissions);
    }

    public void startMimeHashQueueThread() {
	getMimeHashQueue().startMimeHashQueueThread();
    }

    public void stopMimeHashQueueThread() {
	getMimeHashQueue().stopMimeHashQueueThread();
    }

    public String[] getMimeType(URI fileUri) {
	return getMimeHashQueue().getMimeType(fileUri);
    }

    public void terminateQueue() {
	getMimeHashQueue().terminateQueue();
    }
    
}
{'fraction_non_alphanumeric': 0.10066225165562914, 'fraction_numerical': 0.0, 'mean_word_length': 5.0588235294117645, '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': '1092574', 'n_tokens_mistral': 708, 'n_tokens_neox': 704, 'n_words': 112}