[Demonstration 1]

[Buggy Method]
private void updateLocation() {
    mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(latitude, longitude), 14.0f));
    if (start) {
        updateFlags();
        detectWin();
    }
    if (!carryFlag) {
        if (player_marker != null) {
            player_marker.remove();
        }
        player_marker = addFlag(player, latitude, longitude, myTeam + 2);
        // show only to yourself your current location
    } else {
        if (player_marker != null) {
            player_marker.remove();
        }
        player_marker = addFlag(player, latitude, longitude, myTeam);
        carrying.setLatitude(latitude);
        carrying.setLongitude(longitude);
        cloud.updateFagLoc(String.valueOf(latitude), String.valueOf(longitude), String.valueOf(myTeam));
        //If you carry the flag, your position shows to everybody.
    }
}

[Buggy Hunk]
cloud.updateFagLoc(String.valueOf(latitude),String.valueOf(longitude),String.valueOf(myTeam));

[Patch]
cloud.updateFlagLoc(String.valueOf(latitude),String.valueOf(longitude),String.valueOf(myTeam));

[Demonstration 2]

[Buggy Method]
public void _addToList(Object s, Field f, Object id) throws IllegalArgumentException, IllegalAccessException {
    String ids = (String) f.get(s);
    List<String> comb = null;
    if (ids == null) {
        comb = new ArrayList<String>();
    } else {
        comb = new ArrayList<String>(Arrays.asList(ids.split(",")));
    }
    if (!comb.contains(String.valueOf(id))) {
        comb.add(String.valueOf(id));
        ids = StringUtils.join(comb, ",");
    }
    f.set(s, ids);
}

[Buggy Hunk]
if(ids==null){

[Patch]
if(ids==null || ids.equals("")){

[Demonstration 3]

[Buggy Method]
public void processCommand(String command) {
    if (command.compareTo("start") == 0) {
        Main.initialTime = System.currentTimeMillis();
        Main.placeNewCreature();
        MultiplayerWindow.setMultiplayerGame(true);
        MultiplayerWindow.setUnready();
    } else if (command.contains("MP_SCORE_REPORT")) {
        MultiplayerWindow.console.setText("\n" + command.substring(15, command.length()).trim());
        textProgress = 10;
    } else {
        if (textProgress >= 10) {
            MultiplayerWindow.console.setText(command);
            textProgress = 0;
        } else {
            MultiplayerWindow.console.setText(MultiplayerWindow.console.getText() + "\n" + command);
            textProgress++;
        }
    }
}

[Buggy Hunk]
textProgress++;

[Patch]
textProgress+=(int) (command.length()/36)+1;