[Demonstration 1]

[Buggy Method]
private void renderContent(String title, String url) {
    webView.loadUrl("javascript:addView.renderContent('" + title + "','" + url + "')");
}

[Buggy Hunk]
webView.loadUrl("javascript:addView.renderContent('" + title + "','" + url + "')");

[Patch]
webView.loadUrl("javascript:addView.renderInput(\"" + title + "\",\"" + url + "\")");

[Demonstration 2]

[Buggy Method]
public Path getIndexPath() {
    return Paths.get(getIndexPathStr());
}

[Buggy Hunk]
return Paths.get(getIndexPathStr());

[Patch]
return luceneIndexPath;

[Demonstration 3]

[Buggy Method]
private void doUpdateAvailable(final String line) {
    final Update update = new Update(line);
    if (update.getUrl() != null) {
        UPDATES.add(update);
        update.addUpdateListener(LISTENER);
    }
}

[Buggy Hunk]
private void doUpdateAvailable(final String line) {

[Patch]
private static void doUpdateAvailable(final String line) {