Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Code
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
CassandraVersion::compareTo does not order SNAPSHOT versions properly in several scenario.
It return wrong results for the 2 following usecases:
1. new CassandraVersion("4.0-rc2").compareTo(("4.0.0-SNAPSHOT")
2. new CassandraVersion("4.0-rc2").compareTo(("4.0-rc2-SNAPSHOT")