[Demonstration 1]

[Buggy Method]
@SuppressWarnings({ "unchecked", "rawtypes" })
public mAction getActionObject() {
    if (actionObject == null) {
        Class deserializationClass = null;
        switch(actionType) {
            case TIMER:
                deserializationClass = aTimer.class;
                break;
            case FINISHBOOT:
                break;
            case SCREENOFF:
                break;
            case SCREENON:
                break;
            default:
                break;
        }
        actionObject = new GsonBuilder().create().fromJson(actionINStr, deserializationClass);
    }
    return actionObject;
}

[Buggy Hunk]
actionObject = new GsonBuilder().create().fromJson(actionINStr, deserializationClass);

[Patch]
actionObject = new GsonBuilder().create().fromJson(actionINStr, mAction.class);

[Demonstration 2]

[Buggy Method]
public boolean isEmpty() {
    return autoMark == EMPTY_AUTOMARK;
}

[Buggy Hunk]
return autoMark == EMPTY_AUTOMARK;

[Patch]
return autoMark.equals(EMPTY_AUTOMARK);

[Demonstration 3]

[Buggy Method]
@Override
public void onBindViewHolder(final BillViewHolder holder, final int position) {
    holder.getName().setText(mValues.get(position).getName());
    holder.getDate().setText(mValues.get(position).getDate());
    holder.getIssuer().setText(mValues.get(position).getIssuer());
    holder.getmView().setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            Context context = v.getContext();
            Intent intent = new Intent(context, BillDetailActivity.class);
            intent.putExtra(BillDetailFragment.ARG_ITEM_ID, mValues.get(position).getId());
            context.startActivity(intent);
        }
    });
}

[Buggy Hunk]
holder.getDate().setText(mValues.get(position).getDate());

[Patch]
holder.getDate().setText(new SimpleDateFormat("dd.MMM.yyyy").format(new Date(mValues.get(position).getDate())));