We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160a049 commit a301bbbCopy full SHA for a301bbb
buildSrc/src/main/groovy/org/elasticsearch/gradle/Version.groovy
@@ -24,7 +24,7 @@ import groovy.transform.Sortable
24
/**
25
* Encapsulates comparison and printing logic for an x.y.z version.
26
*/
27
-@Sortable
+@Sortable(includes=['id'])
28
public class Version {
29
30
final int major
@@ -60,10 +60,6 @@ public class Version {
60
return "${major}.${minor}.${bugfix}${snapshotStr}"
61
}
62
63
- public boolean equals(Version compareTo) {
64
- return id == compareTo.id
65
- }
66
-
67
public boolean before(String compareTo) {
68
return id < fromString(compareTo).id
69
0 commit comments