<commit_before>package com.monits.agilefant.activity;

import butterknife.Bind;
import butterknife.ButterKnife;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

import com.android.volley.NoConnectionError;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.android.volley.VolleyError;
import com.flurry.android.FlurryAgent;
import com.monits.agilefant.AgilefantApplication;
import com.monits.agilefant.R;
import com.monits.agilefant.model.User;
import com.monits.agilefant.service.UserService;
import com.monits.agilefant.util.ValidationUtils;

import javax.inject.Inject;

public class HomeActivity extends Activity {

	@Bind(R.id.domain)
	EditText domain;

	@Bind(R.id.user_name)
	EditText userName;

	@Bind(R.id.password)
	EditText password;

	@Bind(R.id.login)
	Button login;

	@Inject
	UserService userService;

	@Inject
	SharedPreferences sharedPreferences;

	@Override
	protected void onCreate(final Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_home);

		AgilefantApplication.getObjectGraph().inject(this);
		ButterKnife.bind(this);

		domain.setText(sharedPreferences.getString(UserService.DOMAIN_KEY, ""));
		userName.setText(sharedPreferences.getString(UserService.USER_NAME_KEY, ""));

		login.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(final View v) {<commit_msg>Fixes HomeAcitivity lints<commit_after>package com.monits.agilefant.activity;

import butterknife.Bind;
import butterknife.ButterKnife;

import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

import com.android.volley.NoConnectionError;
import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.android.volley.VolleyError;
import com.flurry.android.FlurryAgent;
import com.monits.agilefant.AgilefantApplication;
import com.monits.agilefant.R;
import com.monits.agilefant.model.User;
import com.monits.agilefant.service.UserService;
import com.monits.agilefant.util.ValidationUtils;

import javax.inject.Inject;

public class HomeActivity extends Activity {

	@Bind(R.id.domain)
	/* default */ EditText domain;

	@Bind(R.id.user_name)
	/* default */ EditText userName;

	@Bind(R.id.password)
	/* default */ EditText password;

	@Bind(R.id.login)
	/* default */ Button login;

	@Inject
	/* default */ UserService userService;

	@Inject
	/* default */ SharedPreferences sharedPreferences;

	@Override
	protected void onCreate(final Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_home);

		AgilefantApplication.getObjectGraph().inject(this);
		ButterKnife.bind(this);

		domain.setText(sharedPreferences.getString(UserService.DOMAIN_KEY, ""));
		userName.setText(sharedPreferences.getString(UserService.USER_NAME_KEY, ""));

		login.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(final View v) {
{'fraction_non_alphanumeric': 0.10646823125357756, 'fraction_numerical': 0.0, 'mean_word_length': 6.089249492900609, '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': '7252681', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1064, 'n_words': 190}