jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r513278 - /jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java
Date Thu, 01 Mar 2007 11:08:48 GMT
Author: angela
Date: Thu Mar  1 03:08:45 2007
New Revision: 513278

URL: http://svn.apache.org/viewvc?view=rev&rev=513278
Log:
transientISM is already added as listener.

Modified:
    jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java

Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java?view=diff&rev=513278&r1=513277&r2=513278
==============================================================================
--- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java
(original)
+++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientItemStateManager.java
Thu Mar  1 03:08:45 2007
@@ -102,8 +102,6 @@
 
         parent.checkIsSessionState();
         NodeState nodeState = ((NodeEntry) parent.getHierarchyEntry()).addNewNodeEntry(nodeName,
uniqueID, nodeTypeName, definition);
-        nodeState.addListener(this);
-
         parent.markModified();
 
         return nodeState;
@@ -131,8 +129,6 @@
         PropertyState propState = ((NodeEntry) parent.getHierarchyEntry()).addNewPropertyEntry(propName,
definition);
         // NOTE: callers must make sure, the property type is not 'undefined'
         propState.init(propertyType, values);
-        propState.addListener(this);
-
         parent.markModified();
 
         return propState;



Mime
View raw message