<commit_before>package com.mood.jenaPlus;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import java.util.ArrayList;

public class WelcomeActivity extends AppCompatActivity {
    private EditText userName;
    private ArrayList<Participant> participantList;
    private ArrayAdapter<Participant> adapter;
    private static final String FILENAME = "moodPlus.sav";
    private ListView participants; // List view for testing and debugging

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome_activity);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        EditText userName = (EditText) findViewById(R.id.loginUserName);
        Button button = (Button) findViewById(R.id.Login_button);
        participants = (ListView) findViewById(R.id.participantList);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                WelcomeActivity theView = new WelcomeActivity();
                ParticipantList theModel = new ParticipantList();
                WelcomeController wc = new WelcomeController(theView,theModel);

                Intent intent = new Intent(WelcomeActivity.this, moodPlusActivity.class);
                startActivity(intent);

            }
        });
    }

    @Override
    protected void onStart() {
        // TODO Auto-generated method stub
        super.onStart();<commit_msg>take out controller<commit_after>package com.mood.jenaPlus;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import java.util.ArrayList;

public class WelcomeActivity extends AppCompatActivity {
    private EditText userName;
    private ArrayList<Participant> participantList;
    private ArrayAdapter<Participant> adapter;
    private static final String FILENAME = "moodPlus.sav";
    private ListView participants; // List view for testing and debugging

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_welcome_activity);
        Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);

        EditText userName = (EditText) findViewById(R.id.loginUserName);
        Button button = (Button) findViewById(R.id.Login_button);
        participants = (ListView) findViewById(R.id.participantList);
        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                WelcomeActivity theView = new WelcomeActivity();
                ParticipantList theModel = new ParticipantList();

                Intent intent = new Intent(WelcomeActivity.this, moodPlusActivity.class);
                startActivity(intent);

            }
        });
    }

    @Override
    protected void onStart() {
        // TODO Auto-generated method stub
        super.onStart();
{'fraction_non_alphanumeric': 0.0875, 'fraction_numerical': 0.000980392156862745, 'mean_word_length': 3.4944933920704844, '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': '6344705', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1037, 'n_words': 245}