[tor-commits] [metrics-web/release] Use Map.putIfAbsent and Map.getOrDefault where possible.