Author: julien_viet
Date: 2009-12-05 17:19:09 -0500 (Sat, 05 Dec 2009)
New Revision: 947
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/Injector.java
Log:
remove dead code
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/Injector.java
===================================================================
---
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/Injector.java 2009-12-05
22:17:48 UTC (rev 946)
+++
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/Injector.java 2009-12-05
22:19:09 UTC (rev 947)
@@ -30,13 +30,9 @@
/** . */
private final ApplicationRegistryServiceImpl registry;
- /** . */
-// private final DomainSession session;
-
- public Injector(ApplicationRegistryServiceImpl registry/*, DomainSession session*/)
+ public Injector(ApplicationRegistryServiceImpl registry)
{
this.registry = registry;
-// this.session = session;
}
public void created(Object o)
@@ -45,13 +41,6 @@
public void loaded(String id, String path, String name, Object o)
{
-/*
- if (o instanceof NodeAware)
- {
- Node node = session.getNode(o);
- ((NodeAware)o).setNode(node);
- }
-*/
if (o instanceof CategoryDefinition)
{
((CategoryDefinition)o).registry = registry;
@@ -60,13 +49,6 @@
public void added(String id, String path, String name, Object o)
{
-/*
- if (o instanceof NodeAware)
- {
- Node node = session.getNode(o);
- ((NodeAware)o).setNode(node);
- }
-*/
if (o instanceof CategoryDefinition)
{
((CategoryDefinition)o).registry = registry;
@@ -75,12 +57,6 @@
public void removed(String id, String path, String name, Object o)
{
-/*
- if (o instanceof NodeAware)
- {
- ((NodeAware)o).setNode(null);
- }
-*/
if (o instanceof CategoryDefinition)
{
((CategoryDefinition)o).registry = null;
Show replies by date