fix Version.v6_0_0 min compatibility version to 5.5.0

This commit is contained in:
Boaz Leskes 2017-07-07 18:24:15 +02:00
parent ad1b9feb20
commit 1d2a10bad8
1 changed files with 2 additions and 2 deletions

View File

@ -308,8 +308,8 @@ public class Version implements Comparable<Version> {
final int bwcMajor; final int bwcMajor;
final int bwcMinor; final int bwcMinor;
if (major == 6) { // we only specialize for current major here if (major == 6) { // we only specialize for current major here
bwcMajor = Version.V_5_4_0.major; bwcMajor = Version.V_5_5_0.major;
bwcMinor = Version.V_5_4_0.minor; bwcMinor = Version.V_5_5_0.minor;
} else if (major > 6) { // all the future versions are compatible with first minor... } else if (major > 6) { // all the future versions are compatible with first minor...
bwcMajor = major -1; bwcMajor = major -1;
bwcMinor = 0; bwcMinor = 0;