Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testVersionEqualWithLeadingZeroes (0.14 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        /**
         * Test all versions are equal when starting with many leading zeroes regardless of string length
         * (related to MNG-6572 optimization)
         */
        @Test
        void testVersionEqualWithLeadingZeroes() {
            // versions with string lengths from 1 to 19
            String[] arr = new String[] {
                "0000000000000000001",
                "000000000000000001",
                "00000000000000001",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top