- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for elseif (0.14 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
} else if (token.startsWith("(")) { ranges.add(new RangeValue(token.replace("(", ""), false)); } else if (token.endsWith("]")) { ranges.add(new RangeValue(token.replace("]", ""), true)); } else if (token.endsWith(")")) { ranges.add(new RangeValue(token.replace(")", ""), false)); } else if (token.isEmpty()) {
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/DefaultModelXmlFactory.java
} else if (reader != null) { return xml.read(reader, request.isStrict(), source); } else if (path != null) { try (InputStream is = Files.newInputStream(path)) { return xml.read(is, request.isStrict(), source); } } else { try (InputStream is = url.openStream()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.4K 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-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java
xml.setAddDefaultEntities(request.isAddDefaultEntities()); if (reader != null) { return xml.read(reader, request.isStrict()); } else { return xml.read(inputStream, request.isStrict()); } } catch (Exception e) { throw new XmlReaderException("Unable to read toolchains: " + getMessage(e), getLocation(e), e);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
File file = (File) it.next(); if (file.exists()) { if (file.isDirectory()) { FileUtils.deleteDirectory(file); } else { file.delete(); } } it.remove(); } warnAboutCleanup = false; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
// The first definition wins. if (!phaseToLifecycleMap.containsKey(phase)) { phaseToLifecycleMap.put(phase, lifecycle); } else if (logger.isWarnEnabled()) { Lifecycle original = phaseToLifecycleMap.get(phase); logger.warn( "Duplicated lifecycle phase {}. Defined in {} but also in {}",
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java
requireNonNull(context, "context cannot be null"); return this; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } else if (null == obj || !getClass().equals(obj.getClass())) { return false; } return true; } @Override public int hashCode() { return getClass().hashCode(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
* the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test: * each model in the lineage is providing a value that is not present * anywhere else in the lineage. We are just making sure that values * down in the lineage are bubbling up where they should. * */ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
Path path = artifactManager.getPath(artifact).orElse(null); if (path != null) { paths.put(artifact, path); } else { requests.add(new ArtifactRequest(aetherArtifact, repositories, null)); } } if (!requests.isEmpty()) { List<ArtifactResult> results =
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0)