-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
9
The class Context has a nested interface:
public static interface Factory<T> {
T make(Context c);
}
This is a functional interface (subtype of Function<Context, T>) and anonymous inner classes should be replaced with lambdas.
public static interface Factory<T> {
T make(Context c);
}
This is a functional interface (subtype of Function<Context, T>) and anonymous inner classes should be replaced with lambdas.
- duplicates
-
JDK-8171370 Convert anonymous inner classes into lambdas/method references
-
- Closed
-