Skip to content

Commit

Permalink
Merge pull request apache#2896 from HanSolo/quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
geertjanw authored Apr 16, 2021
2 parents a6a2ff8 + 9e58b39 commit 56200ec
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ private Client() {
public synchronized final List<MajorVersion> getAllLTSVersions() {
Queue<MajorVersion> majorVersions = getDisco().getAllMajorVersions(true);
return majorVersions.stream()
.filter(majorVersion -> TermOfSupport.LTS == majorVersion.getTermOfSupport() ||
TermOfSupport.MTS == majorVersion.getTermOfSupport())
.collect(Collectors.toList());
.filter(majorVersion -> majorVersion.isMaintained())
.collect(Collectors.toList());
}

public synchronized MajorVersion getLatestLts(boolean b) {
Expand Down

0 comments on commit 56200ec

Please sign in to comment.