Author: julien_viet
Date: 2009-12-05 17:17:48 -0500 (Sat, 05 Dec 2009)
New Revision: 946
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
Log:
rename root content registry to "contents" instead of "registry"
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
===================================================================
---
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2009-12-05
22:04:13 UTC (rev 945)
+++
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2009-12-05
22:17:48 UTC (rev 946)
@@ -91,10 +91,10 @@
public ContentRegistry getContentRegistry()
{
ChromatticSession session = lifeCycle.getChromattic().openSession();
- ContentRegistry registry = session.findByPath(ContentRegistry.class,
"registry");
+ ContentRegistry registry = session.findByPath(ContentRegistry.class,
"contents");
if (registry == null)
{
- registry = session.insert(ContentRegistry.class, "registry");
+ registry = session.insert(ContentRegistry.class, "contents");
}
return registry;
}