- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for matchPattern (0.1 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
assertTrue(DefaultMirrorSelector.matchPattern(getRepo("a"), "a,")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), "a")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), "a,")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), ",a")); assertFalse(DefaultMirrorSelector.matchPattern(getRepo("b"), ",a,"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
return mirror; } } for (Mirror mirror : mirrors) { if (matchPattern(repository, mirror.getMirrorOf()) && matchesLayout(repository, mirror)) { return mirror; } } } return null; } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 32.6K bytes - Viewed (0)