This repository has been archived by the owner on Aug 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made RepositoryItemUid #getLock and #getAttributeLock the same
Both DefaultRepositoryItemUid #getLock and #getAttributeLock lazy initialized and returned the same DefaultRepositoryItemUid.lock member. This means that both methods returned the same value for any given itemUid instance. Most likely this was always item lock, but the code is too convoluted to tell if any code paths used attribute lock. To guarantee consistent use of locks, made both #getLock and and #getAttributeLock always return the same item lock. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
- Loading branch information