#vulnerable code 
                             public Map<String, Object> map() {
		return map;
	} 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                             public Map<String, Object> map() {
//		return map;
		return maps.get();
	}