<commit_before>package com.tytanapps.ptsd.news;

import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.ms.square.android.expandabletextview.ExpandableTextView;
import com.tytanapps.ptsd.R;
import com.tytanapps.ptsd.SearchableAdapter;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

class NewsAdapter extends SearchableAdapter<NewsAdapter.NewsViewHolder, News> {

    class NewsViewHolder extends RecyclerView.ViewHolder {

        @BindView(R.id.news_cardview) CardView rootCardView;
        @BindView(R.id.news_title_textview) TextView titleTextView;
        @BindView(R.id.news_message_textview) TextView dateTextView;
        @BindView(R.id.news_date_textview) ExpandableTextView messageTextView;

        NewsViewHolder(View view) {
            super(view);
            ButterKnife.bind(this, view);
        }
    }<commit_msg>Fix news crash<commit_after>package com.tytanapps.ptsd.news;

import android.support.v7.widget.CardView;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.ms.square.android.expandabletextview.ExpandableTextView;
import com.tytanapps.ptsd.R;
import com.tytanapps.ptsd.SearchableAdapter;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

class NewsAdapter extends SearchableAdapter<NewsAdapter.NewsViewHolder, News> {

    class NewsViewHolder extends RecyclerView.ViewHolder {

        @BindView(R.id.news_cardview) CardView rootCardView;
        @BindView(R.id.news_title_textview) TextView titleTextView;
        @BindView(R.id.news_date_textview) TextView dateTextView;
        @BindView(R.id.news_message_textview) ExpandableTextView messageTextView;

        NewsViewHolder(View view) {
            super(view);
            ButterKnife.bind(this, view);
        }
    }
{'fraction_non_alphanumeric': 0.09008145663632007, 'fraction_numerical': 0.0019166267369429804, 'mean_word_length': 4.480314960629921, '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': '3399495', 'n_tokens_mistral': 661, 'n_tokens_neox': 641, 'n_words': 106}