void () { final boolean cleared; synchronized (myProjectDataMap) { cleared = !myProjectDataMap.isEmpty(); for (Map.Entry<String, ProjectData> entry : myProjectDataMap.entrySet()) { cancelPreloadedBuilds(entry.getKey()); entry.getValue().dropChanges(); } } if (cleared) { InternedPath.clearCache(); scheduleAutoMake(); } }