private List<PatchListEntry> getPatches(ObjectId revisionIdA, ObjectId revisionIdB) throws PatchListNotAvailableException { return patchListCache.get(getKey(revisionIdA, revisionIdB), project).getPatches(); }
private List<PatchListEntry> getCurrentPatches(String changeId) throws PatchListNotAvailableException, RestApiException { return patchListCache.get(getKey(null, getCurrentRevisionId(changeId)), project).getPatches(); }