Jens Bannmann

Results 49 comments of Jens Bannmann

More variations: ``` curl --header 'accept-encoding: gzip, zstd' -v MYURL > /dev/null (...) < content-encoding: gzip ``` ``` curl --header 'accept-encoding: zstd' -v MYURL > /dev/null (...) < content-encoding: zstd...

Thanks for your answers, @jlerbsc and @ftomassetti! Having made my first few contributions (one of them touching the code generation), I wondered about this as well. I respect that you...

> Just to be clear: I did not say I do not want to change this I understood that. 😃 I was referring to @jlerbsc's answer earlier: > No, I...

Hm, it turns out `@SafeVarargs` can only be used on `final` methods. And `default` methods on interfaces cannot be final. So I guess users have to live with `Unchecked generics...

> For information, JP is currently compiled in Java 8. Oh, I didn't know that. Anyway, `@SafeVarargs` is the same in Java 8.

While not everybody may agree that the original version above is readable and/or good code, it _is_ valid Java. So one _could_ argue that tools should be able to figure...

Another example: ``` java @RequiredArgsConstructor(onConstructor_ = @Inject, access = AccessLevel.PROTECTED) public final class FooDeleter { @Deleted private final Event fooDeletedEvent; public void delete(int connectionId) { // ... } } ```

Glad you like it! I pushed the new changes as a separate commit; tell me if I should squash everything before you merge.

I totally forgot about the "rebase" part last time; have now done this. Let me know if there's anything else I should do!