SelectionCalculator () { if (myCalculatorCache == null) { List<Revision> revisionList = new ArrayList<>(); revisionList.add(getCurrentRevision()); revisionList.addAll(ContainerUtil.map(getRevisions(), revisionItem -> revisionItem.revision)); myCalculatorCache = new SelectionCalculator(myGateway, revisionList, myFrom, myTo); } return myCalculatorCache; }