List<FileTemplate> (String category) { Map<String, List<FileTemplate>> templates = changesCache.get(myScheme); return templates == null ? List.of(manager.getTemplates(category)) : templates.get(category); }