[dogfooding] Try with resources applied to org.eclipse.osgi

Applied JDT try with resource cleanup to PDE, this cleanup
creates shorter code

Change-Id: I3bde6441b9117109cadd0c84c283074ffb5252a4
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
3 files changed