More Java 8 compiler fixes

This commit is contained in:
Lukas Eder 2022-04-29 11:10:57 +02:00
parent 3d9a863467
commit 9938b2c474
2 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ final class R2DBC {
@Override
ConnectionSubscriber<T> delegate() {
return new ConnectionSubscriber<>(this) {
return new ConnectionSubscriber<T>(this) {
@Override
void onNext0(Connection c) {
c.beginTransaction().subscribe(subscriber(

View File

@ -6372,7 +6372,7 @@ final class Tools {
}
static final <T> Supplier<T> cached(Supplier<T> s) {
return new Supplier<>() {
return new Supplier<T>() {
// The assumption is that race conditions for the assignment are
// acceptable because the computation is idempotent, so memory