[Demonstration 1]

[Buggy Method]
@Test
public void discDrop() {
    Slot testSlot = new Slot(SlotState.RED);
    testSlot.setColumn(0);
    testSlot.setRow(4);
    assertTrue(testSlot.equals(realTestGame.discDrop(0)));
    testSlot.setColumn(1);
    testSlot.setRow(3);
    assertTrue(testSlot.equals(realTestGame.discDrop(1)));
    testSlot.setColumn(2);
    testSlot.setRow(5);
    assertTrue(testSlot.equals(realTestGame.discDrop(2)));
    ;
}

[Buggy Hunk]
assertTrue(testSlot.equals(realTestGame.discDrop(2)));;

[Patch]
assertTrue(testSlot.equals(realTestGame.discDrop(2)));

[Demonstration 2]

[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)};

[Demonstration 3]

[Buggy Method]
public View getView(int position, View convertView, ViewGroup parent) {
    LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
    View rowView = inflater.inflate(R.layout.supporter_results_row, parent, false);
    TextView nameTextView = (TextView) rowView.findViewById(R.id.txtSupporterName);
    TextView countTextView = (TextView) rowView.findViewById(R.id.txtSupportCount);
    TextView quoteTextView = (TextView) rowView.findViewById(R.id.txtQuote);
    ImageView imageView = (ImageView) rowView.findViewById(R.id.supportIcon);
    nameTextView.setText(values[position].getName());
    countTextView.setText(values[position].getSupporteeCount());
    quoteTextView.setText(values[position].getQuote());
    //TODO: set the image to something other than the default icon
    return rowView;
}

[Buggy Hunk]
countTextView.setText(values[position].getSupporteeCount());

[Patch]
countTextView.setText("" + values[position].getSupporteeCount());