<commit_before>package pers.zylo117.spotspotter.mainprogram;

import java.util.List;

import pers.zylo117.spotspotter.fileprocessor.FIndexReader;
import pers.zylo117.spotspotter.gui.viewer.CentralControl;

public class BreakPoint {
	public static void continuous(List<String> oldlist) {
		oldlist = FIndexReader.getFIndex(false);
		final List<String> newlist = FIndexReader.getFIndex(true);
		newlist.removeAll(oldlist);
		if (!newlist.isEmpty())
			oldlist = newlist;
		FIndexReader.indexProcess(CentralControl.monitorPath, oldlist);
	}
}<commit_msg>Fix endless loopIndex<commit_after>package pers.zylo117.spotspotter.mainprogram;

import java.util.List;

import pers.zylo117.spotspotter.fileprocessor.FIndexReader;
import pers.zylo117.spotspotter.gui.viewer.CentralControl;

public class BreakPoint {
	public static void continuous(List<String> oldlist) {
		oldlist = FIndexReader.getFIndex(false);
		final List<String> newlist = FIndexReader.getFIndex(true);
		if (!newlist.isEmpty()) {
			newlist.removeAll(oldlist);
			if (!newlist.isEmpty()) {
				oldlist = newlist;
				FIndexReader.indexProcess(CentralControl.monitorPath, oldlist);
			} else
				System.out.println("Empty List");
		}
	}
}
{'fraction_non_alphanumeric': 0.11278195488721804, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 5.768361581920904, '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': '6436788', 'n_tokens_mistral': 433, 'n_tokens_neox': 395, 'n_words': 65}