sakaiproject/solr — comment on commit 3d1f1ff4f686228f276d2e10e04c46496fb6a39a
File:  line 0
By ieb:

Some observations.
You have synchronised only 1 point at which this object is accessed. To ensure thread safety you must synchronise all points. Run FindBugs on the code in eclipse to tell you what else you need to fix. It looks like blocks need to be synchronised since the code assumes the state of both LRMMaps wont change. The code was probably written this way on the assumption it was single threaded, clearly that is not the case.