Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for matchesLayout (0.11 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

        void testLayoutPattern() {
            assertTrue(DefaultMirrorSelector.matchesLayout("default", null));
            assertTrue(DefaultMirrorSelector.matchesLayout("default", ""));
            assertTrue(DefaultMirrorSelector.matchesLayout("default", "*"));
    
            assertTrue(DefaultMirrorSelector.matchesLayout("default", "default"));
            assertFalse(DefaultMirrorSelector.matchesLayout("default", "legacy"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                for (Mirror mirror : mirrors) {
                    if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    
                for (Mirror mirror : mirrors) {
                    if (matchPattern(repository, mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                for (Mirror mirror : mirrors) {
                    if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    
                for (Mirror mirror : mirrors) {
                    if (matchPattern(repository, mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top