add comment for Java 8 fix

This commit is contained in:
anhefti 2020-07-14 17:06:26 +02:00
parent abbf2093e5
commit 66699d92d9

View file

@ -34,6 +34,7 @@ public class RestCallPageSupplier<T> implements PageSupplier<T> {
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public Builder<T> newBuilder() {
// NOTE: This has raw-type because of Java 8 compilation (doesn't work with types for some wired reason)
return new RestCallBuilderAdapter(this.restCall.newBuilder());
}