<commit_before>package com.example.mizukamitakamasa.qiitaclient

import android.content.Context
import android.support.annotation.IdRes
import android.view.View
import android.widget.Toast

/**
 * Created by mizukamitakamasa on 2016/09/25.
 */

fun <T : View> View.bindView(@IdRes id: Int): Lazy<T> = lazy {
  findViewById(id) as T
}

fun Context.toast(message: String, duration: Int = Toast.LENGTH_LONG) {
  Toast.makeText(this, message, duration).show()
}<commit_msg>:heavy_minus_sign: 不要になったコードを削除<commit_after>package com.example.mizukamitakamasa.qiitaclient

import android.content.Context
import android.support.annotation.IdRes
import android.view.View
import android.widget.Toast

/**
 * Created by mizukamitakamasa on 2016/09/25.
 */

fun Context.toast(message: String, duration: Int = Toast.LENGTH_LONG) {
  Toast.makeText(this, message, duration).show()
}
{'fraction_non_alphanumeric': 0.11778290993071594, 'fraction_numerical': 0.018475750577367205, 'mean_word_length': 5.4222222222222225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3437953', 'n_tokens_mistral': 322, 'n_tokens_neox': 300, 'n_words': 60}