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

ObservableList in 7-source still has Predicate import

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • None
    • javafx

      The default methods in ObservableList are removed in the java7 directory, but the imports still contain an import for Predicate, which fails on 7. Import is not needed though.
      Following patch simple removes the import statement

      diff -r 6bc3a6e9b4b8 modules/base/src/main/java7/javafx/collections/ObservableList.java
      --- a/modules/base/src/main/java7/javafx/collections/ObservableList.java Fri May 02 09:04:07 2014 +0200
      +++ b/modules/base/src/main/java7/javafx/collections/ObservableList.java Fri May 02 13:05:33 2014 +0200
      @@ -28,7 +28,6 @@
       import java.util.Collection;
       import java.util.Comparator;
       import java.util.List;
      -import java.util.function.Predicate;
       
       import javafx.beans.Observable;
       import javafx.collections.transformation.FilteredList;

            msladecek Martin Sládeček
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: