pgm: Fix missing braces in Version.run()
Change-Id: I4c5633846320f0324714f635b2be388b17cf79fa Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
7383d34737
commit
39b8f43dcd
|
@ -63,13 +63,15 @@ protected void run() {
|
||||||
|
|
||||||
// if Implementation-Version is not available then try reading
|
// if Implementation-Version is not available then try reading
|
||||||
// Bundle-Version
|
// Bundle-Version
|
||||||
if (version == null)
|
if (version == null) {
|
||||||
version = getBundleVersion();
|
version = getBundleVersion();
|
||||||
|
}
|
||||||
|
|
||||||
// if both Implementation-Version and Bundle-Version are not available
|
// if both Implementation-Version and Bundle-Version are not available
|
||||||
// then throw an exception
|
// then throw an exception
|
||||||
if (version == null)
|
if (version == null) {
|
||||||
throw die(CLIText.get().cannotReadPackageInformation);
|
throw die(CLIText.get().cannotReadPackageInformation);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
outw.println(
|
outw.println(
|
||||||
|
|
Loading…
Reference in New Issue