Use diamond operator where feasible

See gh-31916
This commit is contained in:
Yanming Zhou
2023-12-28 13:08:08 +01:00
committed by Stéphane Nicoll
parent db2c532c07
commit 094479b55f
22 changed files with 54 additions and 35 deletions
@@ -453,7 +453,7 @@ class ClassUtilsTests {
void isNotLambda() {
assertIsNotLambda(new EnigmaSupplier());
assertIsNotLambda(new Supplier<String>() {
assertIsNotLambda(new Supplier<>() {
@Override
public String get() {
return "anonymous inner class";