Opened 10 years ago

Closed 10 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.

Change History (1)

comment:1 Changed 10 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [6069]) Fixes #1703: The Job.setProgress() method doesn't accept -1

Note: See TracTickets for help on using tickets.