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

FilteredList constructors types don't match

    XMLWordPrintable

Details

    Description

      Looking at the FilteredList class in JavaDoc, one constructor takes Matcher<? super E> matcher , and the other Matcher<E> matcher. Seems like they should both be "Matcher<E> matcher".

      FilteredList(java.util.List<E> source, Matcher<? super E> matcher, FilterableList.FilterMode mode)
                Constructs a new FilteredList wrapper around the source list.
      FilteredList(java.util.List<E> source, Matcher<E> matcher)
                Constructs a new FilteredList wrapper around the source list using the FilterableList.FilterMode.BATCH mode.

      Attachments

        Activity

          People

            msladecek Martin Sládeček
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: