Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java
index 9ad03f6bd..a2aac66c2 100644
--- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java
+++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionRegistry.java
@@ -611,9 +611,6 @@ public class ExtensionRegistry implements IExtensionRegistry, IDynamicExtensionR
int[] existingExtensions = extPoint.getRawChildren();
int[] newExtensions = RegistryObjectManager.EMPTY_INT_ARRAY;
if (existingExtensions.length > 1) {
- if (existingExtensions.length == 1)
- newExtensions = RegistryObjectManager.EMPTY_INT_ARRAY;
-
newExtensions = new int[existingExtensions.length - 1];
for (int i = 0, j = 0; i < existingExtensions.length; i++)
if (existingExtensions[i] != extension.getObjectId())

Back to the top