[Demonstration 1]

[Buggy Method]
@Override
public void flyTo(SDKAdaptorCallback sdkAdaptorCallback, PositionDisplacement position) {
    if (sdkAdaptorCallback == null || position == null)
        throw new IllegalArgumentException("Arguments must not be null");
    else
        flyTo(sdkAdaptorCallback, position, getMaxSpeed());
}

[Buggy Hunk]
flyTo(sdkAdaptorCallback, position, getMaxSpeed());

[Patch]
flyTo(sdkAdaptorCallback, position, getMaxFlightSpeed());

[Demonstration 2]

[Buggy Method]
public void gameRender() {
    g.setColor(new Color(30, 30, 30));
    g.fillRect(0, 0, width, height);
    g.setColor(Color.WHITE);
    g.drawString("FPS: " + averageFPS, 10, 20);
    for (int i = 0; i < b.size(); i++) {
        b.get(i).draw(g);
    }
    for (int i = 0; i < t.size(); i++) {
        t.get(i).draw(g);
    }
    p.draw(g);
}

[Buggy Hunk]
p.draw(g);

[Patch]
p.draw(g, 2);

[Demonstration 3]

[Buggy Method]
@Test
public void testBuildIceRope() {
    RopeFactory rFac = new RopeFactory();
    Rope rope = rFac.createRope(true);
}

[Buggy Hunk]
Rope rope = rFac.createRope(true);

[Patch]
rFac.createRope(true);