Opened 12 years ago
Closed 12 years ago
#1703 closed defect (fixed)
The Job.setProgress() method doesn't accept -1
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | trivial | Milestone: | BASE 3.1.2 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
Progress reporter implementation have been required to support -1 as a special (unknown) case since #1485. The javadoc for getPercentComplete()
also mentions -1 as a special case. But it is not possible to set -1 for jobs that are not executed by plug-ins since there is no progress reporter in this case. The Job.setProgress()
method will throw a NumberOutOfRangeException
.
Note:
See TracTickets
for help on using tickets.
(In [6069]) Fixes #1703: The Job.setProgress() method doesn't accept -1