Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8057545

Replace ContextFactories with lambdas

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • 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.

            Unassigned Unassigned
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: