Author: pnedonosko
Date: 2009-12-10 09:59:45 -0500 (Thu, 10 Dec 2009)
New Revision: 987
Modified:
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspacePersistentDataManager.java
Log:
EXOJCR-274 fix of connection open error
Modified:
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspacePersistentDataManager.java
===================================================================
---
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspacePersistentDataManager.java 2009-12-10
14:30:52 UTC (rev 986)
+++
jcr/branches/1.12.0-OPT/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspacePersistentDataManager.java 2009-12-10
14:59:45 UTC (rev 987)
@@ -352,9 +352,9 @@
protected WorkspaceStorageConnection getSystemConnection() throws
RepositoryException
{
- return thisConnection = systemConnection == null
+ return systemConnection == null
// we need system connection but it's not exist
- ? (systemDataContainer != dataContainer
+ ? systemConnection = (systemDataContainer != dataContainer
// if it's different container instances
? systemDataContainer.equals(dataContainer) && thisConnection !=
null
// but container confugrations are same and non-system connnection open
@@ -374,9 +374,9 @@
protected WorkspaceStorageConnection getThisConnection() throws
RepositoryException
{
- return thisConnection = thisConnection == null
+ return thisConnection == null
// we need this conatiner conection
- ? (systemDataContainer != dataContainer
+ ? thisConnection = (systemDataContainer != dataContainer
// if it's different container instances
? dataContainer.equals(systemDataContainer) && systemConnection !=
null
// but container confugrations are same and system connnection open
Show replies by date