sonatype/nexus — pull request #156 by cstamas (2011-12-15 16:18:28+00:00)
Title: NEXUS-4715: fixed a major bug and improvements

Shadows were neglected a bit.

The bug

The call from master happened on wrong method, thus it was avoiding UID locking but also NFC management (and many other things). This way it not only let Nexus instance to access same files from multiple threads, but also generated unjustified traffic (if master is proxy).

The improvements

Methods that were doubling the master setting were deprecated (setMasterRepositoryId, and it's getter pair), since they just double the code and were not used (except few classes in REST API) with easy changes.

Also, source code "refreshed" by adding @Overrides, finals and fixing some (mainly) minor code issues.