Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                            // explicitly exclude. Set result and stop processing.
                            result = false;
                            break;
                        }
                    }
                    // check for exact match
                    else if (repo.equals(originalId)) {
                        result = true;
                        break;
                    }
                    // check for external:*
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertSame(mirrorC, mirrorSelector.getMirror(getRepo("c", "http://c.c"), mirrors));
        }
    
        @Test
        void testMirrorStopOnFirstMatch() {
            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top