- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for substring (0.36 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultUrlNormalizer.java
result = result.substring(3); continue; } int parent = idx - 1; while (parent >= 0 && result.charAt(parent) == '/') { parent--; } parent = result.lastIndexOf('/', parent); if (parent < 0) { result = result.substring(idx + 4); } else {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
final boolean result; if (test.startsWith(REGEX_PREFIX)) { result = actualVersion.matches(test.substring(REGEX_PREFIX.length())); } else { if (test.startsWith("!")) { reverse = true; test = test.substring(1); } result = actualVersion.equals(test); } return reverse != result; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
} @AfterEach void tearDown() throws Exception { validator = null; } private void assertContains(String msg, String substring) { assertTrue(msg.contains(substring), "\"" + substring + "\" was not found in: " + msg); } @Test void testValidate() { Profile prof = Profile.newBuilder().id("xxx").build();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java
Path basedir = projectDir.toAbsolutePath(); return new ObjectBasedValueSource(basedir) .getValue(expression.substring("basedir.".length())); } return null; } }, getProjectPrefixes(request),
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
String result; int idx = filename.indexOf('.'); if (idx < 0) { result = filename + '-' + repositoryKey; } else { result = filename.substring(0, idx) + '-' + repositoryKey + filename.substring(idx); } return result; } public LocalArtifactResult find(RepositorySystemSession session, LocalArtifactRequest request) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5.4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
BeanConfigurationValuePreprocessor preprocessor = (value, type) -> { if (value != null && value.startsWith("${") && value.endsWith("}")) { return value.substring(2, value.length() - 1); } return value; }; BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
} public static boolean isJavaVersionCompatible(String requiredJdkRange, String currentJavaVersion) { if (requiredJdkRange.startsWith("!")) { return !currentJavaVersion.startsWith(requiredJdkRange.substring(1)); } else if (isRange(requiredJdkRange)) { return isInRange(currentJavaVersion, getRange(requiredJdkRange)); } else { return currentJavaVersion.startsWith(requiredJdkRange);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java
} private static boolean matches(String pattern, String str) { if (isAny(pattern)) { return true; } else if (pattern.endsWith("*")) { return str.startsWith(pattern.substring(0, pattern.length() - 1)); } else { return Objects.equals(pattern, str); } } private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 12.4K bytes - Viewed (0)