[Demonstration 1]

[Buggy Method]
public String getTitle(final Context context) {
    return (context != null) ? context.getResources().getString(R.string.menu_follow) : null;
}

[Buggy Hunk]
return (context != null) ? context.getResources().getString(R.string.menu_follow) : null;

[Patch]
return (context != null) ? context.getResources().getString(R.string.menu_channel_followers) : null;

[Demonstration 2]

[Buggy Method]
public OL getItem(int position) {
    if (mList != null) {
        if (position > 0 && position < mList.size()) {
            return mList.get(position);
        }
        L.e(AbstractRecyclerAdapter.class, "no item[" + position + "]");
    }
    L.e(AbstractRecyclerAdapter.class, "error to get item");
    return null;
}

[Buggy Hunk]
if (position > 0 && position < mList.size()) {

[Patch]
if (position >= 0 && position < mList.size()) {

[Demonstration 3]

[Buggy Method]
@Override
public CharSequence getPageTitle(int position) {
    String[] mTitles = { getString(R.string.task), getString(R.string.project), getString(R.string.note) };
    return mTitles[position];
}

[Buggy Hunk]
String[] mTitles = {getString(R.string.task), getString(R.string.project), getString(R.string.note)};

[Patch]
String[] mTitles = {getString(R.string.task), getString(R.string.project)};