[exo-jcr-commits] exo-jcr SVN: r1453 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/registration.

do-not-reply at jboss.org do-not-reply at jboss.org
Sun Jan 17 09:08:04 EST 2010


Author: skabashnyuk
Date: 2010-01-17 09:08:04 -0500 (Sun, 17 Jan 2010)
New Revision: 1453

Modified:
   jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/registration/JCRNodeTypeDataPersister.java
Log:
EXOJCR-331 :       //made changes if needed

Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/registration/JCRNodeTypeDataPersister.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/registration/JCRNodeTypeDataPersister.java	2010-01-17 13:19:54 UTC (rev 1452)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/nodetype/registration/JCRNodeTypeDataPersister.java	2010-01-17 14:08:04 UTC (rev 1453)
@@ -400,9 +400,10 @@
          if (observer != null)
             observer.afterUpdate(nodeTypeData, changesLog);
       }
+      //made changes if needed
+      if (changesLog.getSize() > 0)
+         dataManager.save(new TransactionChangesLog(changesLog));
 
-      dataManager.save(new TransactionChangesLog(changesLog));
-
    }
 
    private boolean validatate()



More information about the exo-jcr-commits mailing list