Bug 551362 - [regression] call monitor.done() in finally blocks

Make sure that done() is called on created SubMonitors by doing this in
finally blocks. The contract of SubMonitor does not make this mandatory,
but it must be assured that a SubMonitor is definitely finished after
usage. Without there is a risk of regressions, as in Bug 551147.

Change-Id: I42271a2ca3fd678eddd146afa9d0d6c6acc47bb7
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
6 files changed