Use diamond operator where feasible
See gh-31916
This commit is contained in:
committed by
Stéphane Nicoll
parent
db2c532c07
commit
094479b55f
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user