[Demonstration 1]

[Buggy Method]
@Override
public void readFully(long pos, byte[] bytes) throws IOException {
    this.in.seek(pos);
    if (this.in.getPos() != pos) {
        throw new IOException("Cannot find position : " + pos);
    }
    super.read(bytes, 0, bytes.length);
}

[Buggy Hunk]
super.read(bytes, 0, bytes.length);

[Patch]
this.in.read(bytes, 0, bytes.length);

[Demonstration 2]

[Buggy Method]
@Override
public long skip(long n) throws IOException {
    if (finished) {
        return 0;
    }
    if (available() == 0) {
        readBlock();
    }
    if (finished) {
        return 0;
    }
    n = Math.min(n, available());
    bufferOffset += n;
    return n;
}

[Buggy Hunk]
public long skip(long n) throws IOException {

[Patch]
public long skip(long n) throws IOException, LZ4Exception {

[Demonstration 3]

[Buggy Method]
private static void annotate(final BugInstance bugInstance, final Line line, Project project) {
    FindBugsAnnotation annotation = FindBugsAnnotation.createNewInstance(project);
    annotation.setErrorMessage(bugInstance.getMessage());
    annotation.attach(line);
    line.addPropertyChangeListener(annotation);
}

[Buggy Hunk]
FindBugsAnnotation annotation = FindBugsAnnotation.createNewInstance(project);

[Patch]
FindBugsAnnotation annotation = FindBugsAnnotation.getNewInstance(project);