Bug 501124 - Replace usage of SubMonitor#worked with SubMonitor#step in Platform UI
Summary: Replace usage of SubMonitor#worked with SubMonitor#step in Platform UI
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
: 506442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-09 05:23 EDT by Lars Vogel CLA
Modified: 2016-10-24 10:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2016-09-09 05:23:51 EDT
Bug 500483 introduced SubMonitor#step which also performs a cancellation check. 

According to Stefan Xenos the developer of this change the performance overhead is minimal and we should prefer using step over worked.
Comment 1 Eclipse Genie CLA 2016-09-20 04:13:20 EDT
New Gerrit change created: https://git.eclipse.org/r/81417
Comment 2 Lars Vogel CLA 2016-10-24 09:39:02 EDT
step is planned to removed again. See Bug 506217.
Comment 3 Lars Vogel CLA 2016-10-24 10:10:36 EDT
*** Bug 506442 has been marked as a duplicate of this bug. ***