}
}
}
private void compileDetailedVersion(String version) {
Version v = new Version(version);
detailedVersions.put(version, v);
// hierarchy
if (v.getStability() == ComposerConstants.STABLE) {
String major = v.getMajor();
if (major != null) {
if (!majors.containsKey(major)) {
majors.put(major, new ArrayList<String>());
}
List<String> majorList = majors.get(major);
String minor = v.getMinor();
if (minor != null && !majorList.contains(minor)) {
majors.get(major).add(minor);
Collections.sort(majorList);
Collections.reverse(majorList);
}