[Demonstration 1]

[Buggy Method]
public void stopChronometer(View view) {
    ((Chronometer) layout.findViewById(R.id.trip_timer)).stop();
    hideSoftKeyboard();
}

[Buggy Hunk]
public void stopChronometer(View view) {

[Patch]
private void stopChronometer(View view) {

[Demonstration 2]

[Buggy Method]
public String report() {
    StringBuilder sb = new StringBuilder();
    sb.append("robot status:\n");
    if (chatRobot != null) {
        executor.execute(chatRobot);
    }
    return sb.toString();
}

[Buggy Hunk]
executor.execute(chatRobot);

[Patch]
sb.append(chatRobot.report());

[Demonstration 3]

[Buggy Method]
@Override
public boolean init(Expression<?>[] exprs, int arg1, Kleenean arg2, ParseResult arg3) {
    this.exprs = exprs;
    this.arg1 = arg1;
    this.arg2 = arg2;
    this.arg3 = arg3;
    int currentSectionsSize = ScriptLoader.currentSections.size();
    if (currentSectionsSize > 0) {
        scopeParent = ScriptLoader.currentSections.get(currentSectionsSize - 1);
    } else if (Functions.currentFunction != null) {
        scopeParent = scriptFunctionTrigger.get(Functions.currentFunction);
    } else {
        querySetScope();
    }
    return init();
}

[Buggy Hunk]
scopeParent = scriptFunctionTrigger.get(Functions.currentFunction);

[Patch]
function = Functions.currentFunction;