MergeInfoCached () { synchronized (myCalculatedLock) { long revision = myCopyRevison != null ? myCopyRevison.getRevision() : -1; // TODO: NEW MAP WILL ALSO BE CREATED IN MergeInfoCached constructor return new MergeInfoCached(Collections.unmodifiableMap(myAlreadyCalculatedMap), revision); } }