remove unnecessary calls to check if a key is contained in a map before just getting the value
use backport of java 8 concurrenthashmap