Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testVersionZeroEqualWithLeadingZeroes (0.21 sec)

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

        }
    
        /**
         * Test all "0" versions are equal when starting with many leading zeroes regardless of string length
         * (related to MNG-6572 optimization)
         */
        @Test
        void testVersionZeroEqualWithLeadingZeroes() {
            // versions with string lengths from 1 to 19
            String[] arr = new String[] {
                "0000000000000000000",
                "000000000000000000",
                "00000000000000000",
    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