protected Wikitty cacheGetWikitty(String id) { Wikitty result = null; if (id != null) { result = cache.getWikitty(id); // all time wrap, only WikittyImpl are in cache result = wrapWikitty(result); } return result; } protected WikittyExtension cacheGetExtensions(String id) {
w = wrapWikitty(w); fromCache.put(w.getWikittyId(), w);