Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-10-26 14:00:03 -0400
committerEike Stepper2008-10-26 14:00:03 -0400
commit80284ffd5f23bbaddadaae074647351e5c00a7f8 (patch)
tree1be19262e230986de10ccd01db6403dd24799e51 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo
parent43233412755fd9b464e3e7bd7290ddca67ebec67 (diff)
downloadcdo-80284ffd5f23bbaddadaae074647351e5c00a7f8.tar.gz
cdo-80284ffd5f23bbaddadaae074647351e5c00a7f8.tar.xz
cdo-80284ffd5f23bbaddadaae074647351e5c00a7f8.zip
[252118] SessionConfig: Eager used instead of Lazy
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252118
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/CDOPackageRegistryImpl.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/CDOPackageRegistryImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/CDOPackageRegistryImpl.java
index 08fe0f1a45..054c13c2a4 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/CDOPackageRegistryImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/util/CDOPackageRegistryImpl.java
@@ -124,13 +124,10 @@ public class CDOPackageRegistryImpl extends EPackageRegistryImpl implements CDOP
tracer.format("Registering package for {0}", key);
}
- if (value instanceof EPackageImpl)
+ if (EMFUtil.isDynamicEPackage(value))
{
EPackageImpl ePackage = (EPackageImpl)value;
- if (EMFUtil.isDynamicEPackage(ePackage))
- {
- ModelUtil.prepareDynamicEPackage(ePackage);
- }
+ ModelUtil.prepareDynamicEPackage(ePackage);
}
EPackage ePackage = (EPackage)value;

Back to the top