in src/main/java/org/apache/sling/cli/impl/jira/VersionClient.java [129:145]
public Version findSuccessorVersion(Release release) {
Version version;
try (CloseableHttpClient client = httpClientFactory.newClient()) {
Optional<Version> opt = findVersion (
v -> isFollowingVersion(Release.fromString(v.getName()).get(0), release)
,client);
if (opt.isEmpty())
return null;
version = opt.get();
populateRelatedIssuesCount(client, version);
} catch ( IOException e ) {
throw new RuntimeException(e);
}
return version;
}