Skip to content

Commit 77439fd

Browse files
eclipse-pde-botakurtakov
authored andcommitted
Perform clean code of ui/org.eclipse.pde.ui
1 parent 97acf6c commit 77439fd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/correction/UpdateSingletonToSymbolicName.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ protected void createChange(BundleModel model) {
3232
if (bundle instanceof Bundle bun) {
3333
IManifestHeader header = bun.getManifestHeader(Constants.BUNDLE_SYMBOLICNAME);
3434
if (header instanceof BundleSymbolicNameHeader) {
35-
if (fisDirective && TargetPlatformHelper.getTargetVersion() >= 3.1)
35+
if (fisDirective && TargetPlatformHelper.getTargetVersion() >= 3.1) {
3636
bundle.setHeader(Constants.BUNDLE_MANIFESTVERSION, "2"); //$NON-NLS-1$
37-
else if (!fisDirective && TargetPlatformHelper.getTargetVersion() < 3.1)
37+
} else if (!fisDirective && TargetPlatformHelper.getTargetVersion() < 3.1) {
3838
bundle.setHeader(Constants.BUNDLE_MANIFESTVERSION, null);
39+
}
3940
String entry = ((BundleSymbolicNameHeader) header).getValue();
4041
int ind1 = entry.indexOf(';');
4142
int ind2 = entry.indexOf(':');

0 commit comments

Comments
 (0)