Author: nfilotto
Date: 2009-12-16 10:27:21 -0500 (Wed, 16 Dec 2009)
New Revision: 1100
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnectionContextHolder.java
Log:
EXOJCR-321: Prevent useless database access for the methods add(NodeData) and
add(PropertyData)
Typo in the comment
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnectionContextHolder.java
===================================================================
---
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnectionContextHolder.java 2009-12-16
15:26:03 UTC (rev 1099)
+++
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JBossCacheStorageConnectionContextHolder.java 2009-12-16
15:27:21 UTC (rev 1100)
@@ -225,7 +225,7 @@
}
/**
- * Checks if the given uuid is a real one. By definition a valid uuid is not a
predictable since it is not possible to create twice
+ * Checks if the given uuid is a real one. By definition a valid uuid is not
predictable since it is not possible to create twice
* the same uuid thus the special ids such as Constants.ROOT_UUID,
Constants.SYSTEM_UUID, Constants.VERSIONSTORAGE_UUID and
* Constants.NODETYPESROOT_UUID cannot be considered as real uuids. This method
will return <code>true</code> if the uuid
* is not a special id, <code>false</code> otherwise.
Show replies by date