[Demonstration 1]

[Buggy Method]
public static String doSleep() throws SuspendExecution {
    try {
        if (false)
            Strand.sleep(1);
        return "hello world";
    } catch (InterruptedException ex) {
        throw new RuntimeException(ex);
    }
}

[Buggy Hunk]
if (false) Strand.sleep(1);

[Patch]
Strand.sleep(1);

[Demonstration 2]

[Buggy Method]
public List<Comment> queryPage(Comment comment) {
    comment.setType("03");
    comment.setYn("Y");
    comment.setStatus("03");
    return commentDao.selectList(comment);
}

[Buggy Hunk]
comment.setStatus("03");

[Patch]
comment.setStatus(CommentStatus.checked.getValue());

[Demonstration 3]

[Buggy Method]
@Override
public Document getNextPage(Document doc) throws IOException {
    if (doc.select("li.next.hidden").size() > 0) {
        // Last page
        throw new IOException("No more pages");
    }
    Elements els = doc.select("li.next > a");
    Element first = els.first();
    String nextURL = first.attr("href");
    nextURL = "http://www.hentai-foundry.com" + nextURL;
    return Http.url(nextURL).referrer(url).cookies(cookies).get();
}

[Buggy Hunk]
if (doc.select("li.next.hidden").size() > 0) {

[Patch]
if (doc.select("li.next.hidden").size() != 0) {