File tree 1 file changed +0
-14
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -128,20 +128,6 @@ class VersionCollection {
128
128
return version
129
129
}
130
130
131
- /**
132
- * @return The snapshot at the end of the previous-but-one minor series in the current major series, if the previous minor series
133
- * exists and has not yet been released. Otherwise null.
134
- */
135
- Version getBWCSnapshotForPreviousMinorOfCurrentMajor () {
136
- // If we are at 6.2.0 but 6.1.0 has not yet been released then we
137
- // need to test against 6.0.1-SNAPSHOT too
138
- final Version v = BWCSnapshotForCurrentMajor
139
- if (v == null || v. revision != 0 || v. minor == 0 ) {
140
- return null
141
- }
142
- return versions. find { it. major == v. major && it. minor == v. minor - 1 && it. snapshot }
143
- }
144
-
145
131
private Version getLastSnapshotWithMajor (int targetMajor ) {
146
132
final String currentVersion = currentVersion. toString()
147
133
final int snapshotIndex = versions. findLastIndexOf {
You can’t perform that action at this time.
0 commit comments