Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-08-20 09:39:42 +0000
committerEike Stepper2012-08-20 09:39:42 +0000
commit942ee8e07a4a01ead0a48b3a2565ccd19c6a04b1 (patch)
tree9e2c9a5cf2a8af4691aa2abecd0d59b3cc8d3280 /plugins
parentefeffd9ac0bbbb881efc4e9b63eeaeee89680c2a (diff)
downloadcdo-942ee8e07a4a01ead0a48b3a2565ccd19c6a04b1.tar.gz
cdo-942ee8e07a4a01ead0a48b3a2565ccd19c6a04b1.tar.xz
cdo-942ee8e07a4a01ead0a48b3a2565ccd19c6a04b1.zip
Fix infinite recursion in recurseChildren()
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/internal/version/ReleaseManager.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/internal/version/ReleaseManager.java b/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/internal/version/ReleaseManager.java
index a4d726bddc..e5043002ca 100644
--- a/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/internal/version/ReleaseManager.java
+++ b/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/internal/version/ReleaseManager.java
@@ -215,11 +215,7 @@ public class ReleaseManager implements IReleaseManager
String name = element.getName();
if (element.getType() == IElement.Type.PLUGIN)
{
- IModel pluginModel = PluginRegistry.findModel(name);
- if (pluginModel != null)
- {
- return pluginModel;
- }
+ return PluginRegistry.findModel(name);
}
org.eclipse.pde.internal.core.FeatureModelManager manager = org.eclipse.pde.internal.core.PDECore.getDefault()

Back to the top