[Demonstration 1]

[Buggy Method]
private Circle createCircle(double radius, double x, double y) {
    final Circle circle = new Circle(radius);
    circle.setFill(Color.LIGHTBLUE);
    circle.relocate(x, y);
    drawLine(cm.getX(), cm.getY(), 500, 500);
    return circle;
}

[Buggy Hunk]
circle.relocate(x, y);

[Patch]
circle.relocate(x - radius, y - radius);

[Demonstration 2]

[Buggy Method]
@Override
public List<String> getLocations() {
    return locations;
}

[Buggy Hunk]
public List<String> getLocations() {

[Patch]
public List<Location> getLocations() {