JFG-787 Customizing colors for metrics in web-client

You forgot about concurrency. Use ConcurrentHashMap and method "putIfAbsent" is what you need.