[Demonstration 1]

[Buggy Method]
@Override
public void onFailure(Method method, Throwable exception) {
    GWT.log("Erro: " + exception, exception);
}

[Buggy Hunk]
GWT.log("Erro: " + exception, exception);

[Patch]
callback.onFailure(method, exception);

[Demonstration 2]

[Buggy Method]
public static <T, K extends Comparable<K>> Collector<T, ?, NavigableMap<K, T>> toNavigableMap(Function<? super T, ? extends K> keyMapper) {
    return toNavigableMap(keyMapper, i -> i);
}

[Buggy Hunk]
return toNavigableMap(keyMapper, i -> i);

[Patch]
return toNavigableMap(keyMapper, identity());

[Demonstration 3]

[Buggy Method]
public Catalogue getCatalogue(Parameter... parameters) {
    if (!typeUrlTemplates.containsKey(ATOM_XML)) {
        throw new IllegalStateException(format("", ATOM_XML));
    }
    return typeUrlTemplates.get(ATOM_XML).invoke(parameters);
}

[Buggy Hunk]
throw new IllegalStateException( format( "", ATOM_XML ) );

[Patch]
throw new IllegalStateException( "Direct URL invocation supports application/atom+xml only" );