[Demonstration 1]

[Buggy Method]
@Override
public void semanticAction(QuadQueue quadQueue, SymbolList symbolList) throws SemanticError {
    super.semanticAction(quadQueue, symbolList);
    if (children.size() > 0) {
        this.variableName = ((Expression) children.get(1)).getVariableName();
    }
}

[Buggy Hunk]
this.variableName = ((Expression) children.get(1)).getVariableName();

[Patch]
this.variableName = ((BooleanExpression) children.get(1)).getVariableName();

[Demonstration 2]

[Buggy Method]
public void onCameraRollCurtainLayoutClick(View v) {
    mViewPager.setCurrentItem(1, true);
}

[Buggy Hunk]
mViewPager.setCurrentItem(1, true);

[Patch]
mViewPager.setCurrentItem(mViewPager.getCurrentItem() ^ 1, true);

[Demonstration 3]

[Buggy Method]
public static String rejects(String output, String numbers) {
    String[] nums = numbers.split(" ");
    int[] ary = new int[nums.length];
    int index = 0;
    for (int i = 0; i < nums.length; i++) {
        char[] chary = nums[i].toCharArray();
        int foo = Character.getNumericValue(chary[0]);
        if (chary[1] == 'r') {
            output = output.replaceAll(changed.get(foo)[1], changed.get(foo)[0]);
            ary[index] = foo;
            index++;
        } else {
            String temp = bestMatcher(changed.get(foo)[0]);
            output = output.replaceAll(changed.get(foo)[1], temp);
            String[] adding = { changed.get(foo)[0], temp };
            changed.set(foo, adding);
            taboo.remove(temp);
        }
    }
    for (int i = index - 1; i >= 0; i--) {
        changed.remove(ary[i]);
    }
    return output;
}

[Buggy Hunk]
taboo.remove(temp);

[Patch]
taboo.add(temp);