Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ComparableVersion (0.13 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    + " comparison result:");
            if (args.length == 0) {
                return;
            }
    
            ComparableVersion prev = null;
            int i = 1;
            for (String version : args) {
                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            }
        }
    
        @Test
        public void testMng7714() {
            ComparableVersion f = new ComparableVersion("1.0.final-redhat");
            ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat");
            ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat");
            ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat");
            assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
    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