removed not needed lock for client side connection open
@@ -544,7 +544,6 @@ public class OStorageRemote extends OStorageAbstract implements OStorageProxy, O
public void open(
final String iUserName, final String iUserPassword, final OContextConfiguration conf) {
- stateLock.acquireWriteLock();
addUser();
try {
OStorageRemoteSession session = getCurrentSession();
@@ -587,9 +586,6 @@ public class OStorageRemote extends OStorageAbstract implements OStorageProxy, O
else
throw OException.wrapException(
new OStorageException("Cannot open the remote storage: " + name), e);
-
- } finally {
- stateLock.releaseWriteLock();
}
}
