private PolopolyContext getContext() { if (lazyContext == null) { lazyContext = Util.util(server); } return lazyContext; }
public ContentIdUtil get(int i) { try { ContentId result = contentList.getEntry(i).getReferredContentId(); if (result != null) { return Util.util(result, getContext()); } else { return null; } } catch (CMException e) { throw new CMRuntimeException( "While getting entry " + i + " in " + ContentListUtilImpl.this.toString() + ": " + e.getMessage(), e); } }