[Demonstration 1]

[Buggy Method]
private void selectStealFamily(int index) {
    if (strikes == FamilyFeudGame.STRIKE_LIMIT) {
        selectedFamilyIndex = index;
        Logger.log("Family [" + selectedFamilyIndex + "] selected as potential stealers.");
    }
    Logger.err("Cannot assign family [" + index + "] as stealers: " + (FamilyFeudGame.STRIKE_LIMIT - strikes) + " strike(s) remaining");
}

[Buggy Hunk]
Logger.err("Cannot assign family [" + index + "] as stealers: " + (FamilyFeudGame.STRIKE_LIMIT - strikes) + " strike(s) remaining");

[Patch]
else Logger.err("Cannot assign family [" + index + "] as stealers: " + (FamilyFeudGame.STRIKE_LIMIT - strikes) + " strike(s) remaining");

[Demonstration 2]

[Buggy Method]
@Override
public void print(edu.iris.dmc.service.Error error, String file) {
    printMessage(file, error.getId(), error.getNetwork(), error.getnStart(), error.getnEnd(), error.getStation(), error.getsStart(), error.getsEnd(), error.getLocation(), error.getChannel(), error.getcStart(), error.getcEnd(), error.getMessage());
}

[Buggy Hunk]
error.getcEnd(), error.getMessage());

[Patch]
error.getcEnd(), error.getMessage(), error.getInvalidValue());

[Demonstration 3]

[Buggy Method]
private void sendError(String error, HttpServletResponse resp, Blackjack game) {
    JSONObject respObj = new JSONObject();
    try {
        respObj.put("msg", error);
        respObj.put("isSuccess", false);
        if (game != null) {
            respObj.put("gameObj", game);
        }
        resp.getWriter().print(respObj.toString());
    } catch (JSONException e) {
        throw new RuntimeException(e.getMessage());
    } catch (IOException e) {
        throw new RuntimeException(e.getMessage());
    }
}

[Buggy Hunk]
respObj.put("gameObj", game);

[Patch]
respObj.put("gameObj", assembleGameObj(game));