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

Add @FunctionalInterface to ThreadPredicate and ThreadGroupPredicate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.9
    • lang.*
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: