[Demonstration 1]

[Buggy Method]
public void print() {
    for (int[] aMatrix : matrix) {
        for (int anAMatrix : aMatrix) {
            System.out.print("" + anAMatrix);
        }
        System.out.println();
    }
}

[Buggy Hunk]
System.out.print("" + anAMatrix);

[Patch]
System.out.print(anAMatrix);

[Demonstration 2]

[Buggy Method]
public static void main(String[] args) {
    SplayTree test = new SplayTree();
    test.add(4);
    test.add(2);
    test.add(1);
    test.add(3);
    test.add(6);
    test.add(5);
    test.add(7);
    test.zigZag(test.head.right, test.head.right.left);
    System.out.println("Success?");
}

[Buggy Hunk]
test.zigZag(test.head.right, test.head.right.left);

[Patch]
test.zigZig(test.head.right, test.head.right.right);

[Demonstration 3]

[Buggy Method]
private Object visitActionCallMethod(ActionCallMethod acm) {
    ActionCallMethod clone = new ActionCallMethod();
    clone.setVariable(acm.getVariable());
    clone.setState(acm.getState());
    clone.setMethodName(acm.getMethodName());
    for (ActionFieldValue aff : acm.getFieldValues()) {
        clone.addFieldValue(cloneActionFieldFunction((ActionFieldFunction) aff));
    }
    return clone;
}

[Buggy Hunk]
private Object visitActionCallMethod( ActionCallMethod acm ) {

[Patch]
private ActionCallMethod visitActionCallMethod( ActionCallMethod acm ) {