- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for matchesLayout (0.07 sec)
-
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) -
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) -
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)