[Demonstration 1]

[Buggy Method]
void assertFileInTargetExists(TestInformationRepository tiRepo, String expectedFile) {
    File toBeTested = new File(tiRepo.getVideoFolderPath(), expectedFile);
    Assert.assertTrue(toBeTested.exists());
}

[Buggy Hunk]
void assertFileInTargetExists(TestInformationRepository tiRepo, String expectedFile) {

[Patch]
protected void assertFileInTargetExists(TestInformationRepository tiRepo, String expectedFile) {

[Demonstration 2]

[Buggy Method]
private Iterable<Callable<Boolean>> toCallables(final Iterable<Runnable> runnables) {
    return transform(runnables, new Function<Runnable, Callable<Boolean>>() {

        @Override
        public Callable<Boolean> apply(final Runnable input) {
            return new Callable<Boolean>() {

                @Override
                public Boolean call() throws Exception {
                    input.run();
                    return true;
                }
            };
        }
    });
}

[Buggy Hunk]
private Iterable<Callable<Boolean>> toCallables(final Iterable<Runnable> runnables) {

[Patch]
Iterable<Callable<Boolean>> toCallables(final Iterable<Runnable> runnables) {

[Demonstration 3]

[Buggy Method]
public Page<K> next(K key) throws Exception {
    K next = st.floor(key);
    return serializer.readPage(st.get(next));
}

[Buggy Hunk]
return serializer.readPage(st.get(next));

[Patch]
return serializer.read(st.get(next));