sonatype/nexus — pull request #483 by cstamas (2012-07-16 12:15:23+00:00)
Title: NEXUS-5145: Fix for context change detection.

As Alin described, there is an NPE happening because "change detection" or Remote Storage does not notive the fact that it has _new_ context having _old_ ID.

Also, in very same way aligned the local storage, since same code and logic happens in there too.