[Demonstration 1]

[Buggy Method]
@Override
protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) {
    try {
        String jsonString = new String(response.data, HttpHeaderParser.parseCharset(response.headers));
        return Response.success(new JSONObject(jsonString), HttpHeaderParser.parseCacheHeaders(response));
    } catch (UnsupportedEncodingException e) {
        return Response.error(new ParseError(e));
    } catch (JSONException je) {
        return Response.error(new ParseError(je));
    }
}

[Buggy Hunk]
protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) {

[Patch]
public Response<JSONObject> parseNetworkResponse(NetworkResponse response) {

[Demonstration 2]

[Buggy Method]
protected JSONObject getJSONObjectHeaders(JSONObject jsonObject) {
    JSONObject responseJsonHeaders;
    if (((JSONObject) jsonObject.get("headers")).length() == 0) {
        responseJsonHeaders = null;
    } else {
        responseJsonHeaders = (JSONObject) jsonObject.get("headers");
    }
    return responseJsonHeaders;
}

[Buggy Hunk]
protected JSONObject getJSONObjectHeaders(JSONObject jsonObject) {

[Patch]
protected final JSONObject getJSONObjectHeaders(final JSONObject jsonObject) {

[Demonstration 3]

[Buggy Method]
@Override
public ObservableList<TreeItem<String>> getChildren() {
    if (isFirstTimeChildren) {
        isFirstTimeChildren = false;
        try {
            super.getChildren().setAll(buildChildren(this));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
    return super.getChildren();
}

[Buggy Hunk]
e.printStackTrace();

[Patch]
LoggerFactory.getLogger(HelpTreeItem.class).error("Can not build children",e);