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

Wrong javadoc for progress property in Worker and Task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.1
    • fx2.1
    • javafx
    • Windows 7 64-bit, Java 1.7_02 64-bit, JavaFX 2.1 b10

      The description for the progress member of the Worker interface reads as follows:

      ReadOnlyDoubleProperty progress Gets the ReadOnlyLongProperty representing the progress.


      ReadOnlyDoubleProperty progressProperty()
      Gets the ReadOnlyLongProperty representing the progress.

      As the signature of the method and properties shows, the progress property is a DoubleProperty, not a LongProperty. The description needs to be fixed. This appears as well in the Task class, as the javadoc is probably inherited from Worker.

            rbair Richard Bair (Inactive)
            fbouyajfx Fabrice Bouyé (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: