static void replaceMapWith(Map dest, Map src) { dest.clear(); dest.putAll(src); }