[Demonstration 1]

[Buggy Method]
@Override
public int compare(PlayerRecord pr1, PlayerRecord pr2) {
    return pr1.getScore() > pr2.getScore() ? 1 : -1;
}

[Buggy Hunk]
return  pr1.getScore() > pr2.getScore() ? 1 : -1;

[Patch]
return  pr1.getScore() < pr2.getScore() ? 1 : -1;

[Demonstration 2]

[Buggy Method]
public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) {
    TextView view;
    if (convertView == null) {
        view = (TextView) _layoutInflater.inflate(R.layout.list_item, null);
    } else {
        view = (TextView) convertView;
    }
    view.setPadding(view.getPaddingLeft() + 25, view.getPaddingTop(), view.getPaddingRight(), view.getPaddingBottom());
    view.setText(_groups[groupPosition]);
    return view;
}

[Buggy Hunk]
view.setPadding(view.getPaddingLeft() + 25, view.getPaddingTop(), view.getPaddingRight(), view.getPaddingBottom());

[Patch]
view.setPadding(60, 0, 0, 0);

[Demonstration 3]

[Buggy Method]
private boolean inRangeOfView(View view, MotionEvent ev) {
    int[] location = new int[2];
    view.getLocationOnScreen(location);
    int x = location[0];
    int y = location[1];
    if (ev.getX() < x || ev.getX() > (x + view.getWidth()) || ev.getY() < y || ev.getY() > (y + view.getHeight())) {
        return false;
    }
    return true;
}

[Buggy Hunk]
if (ev.getX() < x || ev.getX() > (x + view.getWidth()) || ev.getY() < y || ev.getY() > (y + view.getHeight())) {

[Patch]
if (ev.getRawX()< x || ev.getRawX() > (x + view.getWidth()) || ev.getRawY() < y || ev.getRawY() > (y + view.getHeight())) {