File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -128,20 +128,6 @@ class VersionCollection {
128128 return version
129129 }
130130
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-
145131 private Version getLastSnapshotWithMajor (int targetMajor ) {
146132 final String currentVersion = currentVersion. toString()
147133 final int snapshotIndex = versions. findLastIndexOf {
You can’t perform that action at this time.
0 commit comments