Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1417

Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9
    • Component/s: lang.*
    • Labels:
      None

      Description

      Since we upgraded the Java language requirement to Java 8, we can add the @FunctionalInterface annotation to ThreadGroupPredicate and ThreadPredicate.

       

      Our initial plan of letting ThreadGroupPredicate and ThreadPredicate inherit vom Predicate is not possible since we have implementations that would then inherit from both Predicate<Thread> and Predicate<ThreadGroup> which is not possible.

        Attachments

          Activity

            People

            • Assignee:
              britter Benedikt Ritter
              Reporter:
              britter Benedikt Ritter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: