-
Type:
Enhancement
-
Resolution: Duplicate
-
Priority:
P4
-
None
-
Affects Version/s: 9
-
Component/s: tools
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
-