Skip to content

Commit

Permalink
Fixed JDK selection bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattGill98 committed Nov 14, 2018
1 parent aaad0a7 commit 101fb37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public boolean newerThan(Version version) {
} else if (equals(minor, version.minor)) {
if (greaterThan(subminor, version.subminor)) {
return true;
} else if (subminor == version.subminor) {
} else if (equals(subminor, version.subminor)) {
if (greaterThan(update, version.update)) {
return true;
}
Expand All @@ -130,7 +130,7 @@ public boolean olderThan(Version version) {
} else if (equals(minor, version.minor)) {
if (lessThan(subminor, version.subminor)) {
return true;
} else if (subminor == version.subminor) {
} else if (equals(subminor, version.subminor)) {
if (lessThan(update, version.update)) {
return true;
}
Expand Down

0 comments on commit 101fb37

Please sign in to comment.