<commit_before>package com.cloudycrew.cloudycar;

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

public class SignUpActivity extends AppCompatActivity implements ISignUpView {

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

        Button lessgo = (Button) findViewById(R.id.startButton);
        lessgo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                signUp();
            }
        });
    }

    public void signUp() {
        Intent intent = new Intent(this, SignUpCompleteActivity.class);
        startActivity(intent);
    }
}<commit_msg>Sign up things. For George<commit_after>package com.cloudycrew.cloudycar;

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

import com.cloudycrew.cloudycar.controllers.UserController;
import com.cloudycrew.cloudycar.email.Email;
import com.cloudycrew.cloudycar.models.PhoneNumber;
import com.cloudycrew.cloudycar.models.User;

public class SignUpActivity extends BaseActivity implements ISignUpView {

    String username;
    Email email;
    PhoneNumber phoneNumber;

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

        EditText usernamestr = (EditText) this.findViewById(R.id.signup_username);
        username = usernamestr.getText().toString();
        EditText emailstr = (EditText) this.findViewById(R.id.signup_email);
        email = new Email(emailstr.getText().toString());
        EditText phonestr = (EditText) this.findViewById(R.id.signup_phone);
        phoneNumber = new PhoneNumber(phonestr.getText().toString());

        Button lessgo = (Button) findViewById(R.id.startButton);
        lessgo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                signUp();
            }
        });
    }

    public void signUp() {
        User u = new User(username);
        u.setEmail(email);
        u.setPhoneNumber(phoneNumber);

        //TODO: Make user!

        Intent intent = new Intent(this, SignUpCompleteActivity.class);
        startActivity(intent);
    }
}
{'fraction_non_alphanumeric': 0.10071428571428571, 'fraction_numerical': 0.0007142857142857143, 'mean_word_length': 3.155786350148368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1465214', 'n_tokens_mistral': 790, 'n_tokens_neox': 765, 'n_words': 153}