<commit_before>package ninja.nosheep.keywi;

import android.app.Activity;
import android.content.ContentResolver;
import android.database.Cursor;
import android.provider.Telephony;

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

/**
 * Text om metoden
 *
 * @author <NAME>
 * @since 2015-11-06
 */
public class MessageHandler {

    private Activity callingActivity;
    private List<MessageObject> messageList;

    public MessageHandler(Activity callingActivity) {
        this.callingActivity = callingActivity;
    }

    public List<SMSObject> getSmsList() {
        List<SMSObject> returnList = new ArrayList<>(getInboxSmsList());
        returnList.addAll(getSentSmsList());

        return returnList;
    }

    // BEHÖVER PROVKÖRAS //
    private void sortList(List<MessageObject> oldList) {
        for (int i = 0; i < oldList.size(); i++){<commit_msg>sortering edited<commit_after>package ninja.nosheep.keywi;

import android.app.Activity;
import android.content.ContentResolver;
import android.database.Cursor;
import android.provider.Telephony;

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

/**
 * Text om metoden
 *
 * @author <NAME>
 * @since 2015-11-06
 */
public class MessageHandler {

    private Activity callingActivity;
    private List<MessageObject> messageList;

    public MessageHandler(Activity callingActivity) {
        this.callingActivity = callingActivity;
    }

    public List<SMSObject> getSmsList() {
        List<SMSObject> returnList = new ArrayList<>(getInboxSmsList());
        returnList.addAll(getSentSmsList());

        return returnList;
    }

    // BEHÖVER PROVKÖRAS BABE//
    private void sortList(List<MessageObject> oldList) {
        for (int i = 0; i < oldList.size(); i++){
{'fraction_non_alphanumeric': 0.10919220055710306, 'fraction_numerical': 0.010027855153203343, 'mean_word_length': 3.7263157894736842, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '6342842', 'n_tokens_mistral': 559, 'n_tokens_neox': 536, 'n_words': 121}