[ https://issues.apache.org/jira/browse/ONAMI-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jordan Zimmerman reassigned ONAMI-94: ------------------------------------- Assignee: Jordan Zimmerman > Refactor locking in ConcurrentLazySingletonScopeImpl > ---------------------------------------------------- > > Key: ONAMI-94 > URL: https://issues.apache.org/jira/browse/ONAMI-94 > Project: Apache Onami > Issue Type: Improvement > Components: scopes > Affects Versions: scopes-1.0.0 > Reporter: Mikhail Mazursky > Assignee: Jordan Zimmerman > Priority: Minor > > - getLock() should be called just before "try", not inside the block - this > will also allow to remove null check from releaseLock(); > - LockRecord instances may be used as lock objects - no need to create > separate objects for that because LockRecord instances are not exposed. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira