diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/GroupingChecker.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/GroupingChecker.java index fdccbf30fea..e07819ba6e5 100644 --- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/GroupingChecker.java +++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/GroupingChecker.java @@ -420,7 +420,7 @@ List addConflicts(ResolverBundle bundle, String usedPackage, Lis // TODO this is a behavioral change; before we only required 1 supplier to match; now roots must be subsets private boolean subSet(ResolverExport[] superSet, ResolverExport[] subSet) { - for (ResolverExport subexport : subSet) { + for (ResolverExport subexport : subSet) { boolean found = false; for (ResolverExport superexport : superSet) { // compare by exporter in case the bundle exports the package multiple times diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java index e79db308fdc..693bd6f27b2 100644 --- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java +++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/module/ResolverImpl.java @@ -592,8 +592,8 @@ private BundleDescription[] addDevConstraints(BundleDescription[] reRefresh) { // when in develoment mode we need to reRefresh hosts of unresolved fragments that add new constraints // and reRefresh and unresolved bundles that have dependents Set additionalRefresh = new HashSet<>(); - ResolverBundle[] allUnresolved = unresolvedBundles.toArray(new ResolverBundle[unresolvedBundles.size()]); - for (ResolverBundle unresolved : allUnresolved ) { + ResolverBundle[] allUnresolved = unresolvedBundles.toArray(new ResolverBundle[unresolvedBundles.size()]); + for (ResolverBundle unresolved : allUnresolved) { addUnresolvedWithDependents(unresolved, additionalRefresh); addHostsFromFragmentConstraints(unresolved, additionalRefresh); }