[Demonstration 1]

[Buggy Method]
private boolean matchingAdjacent(int x, int y) {
    return c_color[y][x] == c_color[y + 1][x + 1];
}

[Buggy Hunk]
private boolean matchingAdjacent(int x, int y) {

[Patch]
private boolean matchingAdjacent(int y, int x) {

[Demonstration 2]

[Buggy Method]
public char[][] wallWrap() {
    int upperY = high - 1;
    int upperX = wide - 1;
    for (int i = 0; i < high; i++) {
        dungeon[i][0] = '#';
        dungeon[i][upperX] = '#';
    }
    for (int i = 0; i < wide; i++) {
        dungeon[0][i] = '#';
        dungeon[upperX][i] = '#';
    }
    return dungeon;
}

[Buggy Hunk]
dungeon[upperX][i] = '#';

[Patch]
dungeon[upperY][i] = '#';

[Demonstration 3]

[Buggy Method]
private void menuItemAnim(int pos) {
    for (int i = 0; i < getChildCount(); i++) {
        View childView = getChildAt(i + 1);
        if (i == pos) {
            childView.startAnimation(scaleBigAnim(300));
        } else {
            childView.startAnimation(scaleSmallAnim(300));
        }
        childView.setClickable(false);
        childView.setFocusable(false);
    }
}

[Buggy Hunk]
for (int i = 0; i < getChildCount(); i++) {

[Patch]
for (int i = 0; i < getChildCount()-1; i++) {