Task updateProgress should take double values, not long values

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 7u6
    • Affects Version/s: fx2.0.1, fx2.1
    • Component/s: javafx

      Worker defines totalWork and workDone as doubles, yet the updateProgress method on Task takes longs, not doubles! I think totalWork and workDone were intended to be longs, but they are clearly doubles now. As such, a new updateProgress method should be added that takes doubles and, perhaps, the existing method deprecated (although it does no harm other than to add to the API).

            Assignee:
            Richard Bair (Inactive)
            Reporter:
            Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: