SLING-2535 Undid my previous commit and put the synchronisation one layer further out as orriginally suggested. Synchronising in incUsage and decUsage is too risky from a deadlock point of view. Added Javadoc to warn about thread safety on the methods.

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1404430 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: a92988398125d2bbcf2d58b3d8871b4757123c90
  1. src/
  2. pom.xml
  3. README.txt