<commit_before>package jp.tkji.yapcasiaviewer;

import android.content.Context;
import android.view.View;
import android.widget.TextView;
import jp.senchan.lib.app.ArrayListAdapter;

public class TalkListAdapter extends ArrayListAdapter<Talk> {

	public TalkListAdapter(Context context, TalkList list) {
		super(context, list);
	}

	@Override
	public int getViewLayoutId(int position) {
		return R.layout.talk_row;
	}

	private static class ViewHolder {
		public TextView textViewTime;
		public TextView textViewName;
		public TextView textViewTitle;
		public TextView textViewDesc;
	}
	
	@Override
	public View createView(int position, Talk item, View v) {
		
		ViewHolder vh = (ViewHolder) v.getTag();
		
		if (vh == null) {
			vh = new ViewHolder();
			vh.textViewTime = (TextView) v.findViewById(R.id.textViewTime);
			vh.textViewName = (TextView) v.findViewById(R.id.textViewName);
			vh.textViewTitle = (TextView) v.findViewById(R.id.textViewTitle);
			v.setTag(vh);
		}
		
		vh.textViewName.setText(item.speaker.name);
		vh.textViewTitle.setText(item.getTitle());
		vh.textViewTime.setText(DateUtil.toTimeString(item.startOn) + " - " + DateUtil.toTimeString(item.getEndOn()));
		
		return v;
	}

}
<commit_msg>使ってない変数<commit_after>package jp.tkji.yapcasiaviewer;

import android.content.Context;
import android.view.View;
import android.widget.TextView;
import jp.senchan.lib.app.ArrayListAdapter;

public class TalkListAdapter extends ArrayListAdapter<Talk> {

	public TalkListAdapter(Context context, TalkList list) {
		super(context, list);
	}

	@Override
	public int getViewLayoutId(int position) {
		return R.layout.talk_row;
	}

	private static class ViewHolder {
		public TextView textViewTime;
		public TextView textViewName;
		public TextView textViewTitle;
	}
	
	@Override
	public View createView(int position, Talk item, View v) {
		
		ViewHolder vh = (ViewHolder) v.getTag();
		
		if (vh == null) {
			vh = new ViewHolder();
			vh.textViewTime = (TextView) v.findViewById(R.id.textViewTime);
			vh.textViewName = (TextView) v.findViewById(R.id.textViewName);
			vh.textViewTitle = (TextView) v.findViewById(R.id.textViewTitle);
			v.setTag(vh);
		}
		
		vh.textViewName.setText(item.speaker.name);
		vh.textViewTitle.setText(item.getTitle());
		vh.textViewTime.setText(DateUtil.toTimeString(item.startOn) + " - " + DateUtil.toTimeString(item.getEndOn()));
		
		return v;
	}

}

{'fraction_non_alphanumeric': 0.1172787979966611, 'fraction_numerical': 0.0, 'mean_word_length': 4.600467289719626, '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': '5036930', 'n_tokens_mistral': 903, 'n_tokens_neox': 793, 'n_words': 157}