[Demonstration 1]

[Buggy Method]
public void placePlayerInLobby(Player player) {
    roomManager.getRoom(LOBBY_ID).addPresentPlayer(player);
}

[Buggy Hunk]
roomManager.getRoom(LOBBY_ID).addPresentPlayer(player);

[Patch]
roomManager.getRoom(LOBBY_ID).addPresentPlayer(player.getPlayerId());

[Demonstration 2]

[Buggy Method]
private void addFlowEntry(String prefix, FlowEntry fe) {
    flowTable.get(prefix).add(fe);
}

[Buggy Hunk]
flowTable.get(prefix).add(fe);

[Patch]
getFlowEntries(prefix).add(fe);

[Demonstration 3]

[Buggy Method]
protected EditorData toData(FileEdit fe) {
    File f = fe.getFile();
    return new EditorData(fe.getName(), f == null ? null : f.getAbsolutePath(), fe.getText(), fe.getSelectionStart(), fe.textChanged);
}

[Buggy Hunk]
protected EditorData toData(FileEdit fe) {

[Patch]
public EditorData toData(FileEdit fe) {