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.

Change History (1)

comment:1 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.