Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 176623

Summary: [import rewrite] IProgressMonitor#done() with IProgressMonitor#beginTask(..)
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: David Audel <david_audel>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Jerome Lanneluc CLA 2007-03-07 11:55:24 EST
I20070306

ImportRewriteAnalyser#getResultingEdits(IProgressMonitor) contains a call to IProgressMonitor#done() without first calling IProgressMonitor#beginTask(..).
Comment 1 Martin Aeschlimann CLA 2007-03-07 12:56:00 EST
In my understanding of the IProgressMonitor the minimum is to call 'done();' (so that a parent progress monitor can advance.
If you don't have any steps you don't need to declare a task name and steps.
Comment 2 Jerome Lanneluc CLA 2007-03-07 12:58:51 EST
The FAQ seems to say otherwise: http://wiki.eclipse.org/index.php/FAQ_How_do_I_use_progress_monitors%3F
Comment 3 Eclipse Genie CLA 2019-10-21 17:30:41 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.