[Demonstration 1]

[Buggy Method]
public List<String> searchDirectory1(File directory) {
    if (directory.isDirectory()) {
        return search1(directory);
    } else {
        System.out.println(directory.getAbsoluteFile() + " is not a directory!");
        return null;
    }
}

[Buggy Hunk]
System.out.println(directory.getAbsoluteFile() + " is not a directory!");

[Patch]
logger.log(Level.WARNING,directory.getAbsoluteFile() + " is not a directory!");

[Demonstration 2]

[Buggy Method]
public List getGoal_21() {
    return goal_21;
}

[Buggy Hunk]
public List getGoal_21() {

[Patch]
public List<String> getGoal_21() {

[Demonstration 3]

[Buggy Method]
public List<InternalScene> getScenes() {
    return this.sceneMan.getScenes();
}

[Buggy Hunk]
return this.sceneMan.getScenes();

[Patch]
return sceneMan != null ? sceneMan.getScenes() : new LinkedList<InternalScene>();