Bug 351843 - [registry] Translations for Java Content Type labels not loaded in a fresh install
diff --git a/bundles/org.eclipse.equinox.registry/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.registry/META-INF/MANIFEST.MF
index f407036..98afbfa 100644
--- a/bundles/org.eclipse.equinox.registry/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.registry/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.equinox.registry;singleton:=true
-Bundle-Version: 3.5.100.qualifier
+Bundle-Version: 3.5.101.qualifier
 Bundle-Localization: plugin
 Export-Package: org.eclipse.core.internal.adapter;x-internal:=true,
  org.eclipse.core.internal.registry;x-friends:="org.eclipse.core.runtime",
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/osgi/EclipseBundleListener.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/osgi/EclipseBundleListener.java
index e2c5bee..d757bcf 100644
--- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/osgi/EclipseBundleListener.java
+++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/osgi/EclipseBundleListener.java
@@ -216,7 +216,7 @@
 		if (hasNLSFilesFor(host, fragment)) {
 			refresh = true;
 		} else {
-			// check other fragments of this host
+			// check the fragment provides NLS for other fragments of this host
 			for (int i = 0; i < fragments.length && !refresh; i++) {
 				if (fragment.equals(fragments[i]))
 					continue; // skip fragment that was just resolved; it will be added in by the caller
@@ -235,10 +235,10 @@
 				removeBundle(fragments[i]);
 				addBundle(fragments[i], false);
 			}
-		}
-		synchronized (currentStateStamp) {
-			// mark this host as processed for the current state stamp.
-			dynamicAddStateStamps.put(hostID, new Long(currentStateStamp[0]));
+			synchronized (currentStateStamp) {
+				// mark this host as processed for the current state stamp.
+				dynamicAddStateStamps.put(hostID, new Long(currentStateStamp[0]));
+			}
 		}
 	}