sonatype/nexus — pull request #81 by cstamas (2011-11-17 16:55:50+00:00)
Title: NEXUS-4627: downgradeable locks

This pull request contains following:

* merge of Stuart's change wrt "downgrades", making it actually happening
* added two tests (one for Nexus' SimpleResourceLock and one for SISU Local locks) verifying downgrade _is happening_.
* adjusted existing SimpleLockResourceLRTest wrt it's -- obsolete now -- expectations about locks _not downgrading_.

This pull is just here to be reviewed, is not to be merged yet, since local validation still remains!

Latest what happened:
* rebase against _latest master_ since it has build problems fixed.
* build of this branch *UT/IT* passes locally on my mac