- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for empty (0.17 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
@Nonnull <T> T lookup(Class<T> type, String name); /** * Performs a lookup for optional typed component. * * @param type The component type. * @return Optional carrying component or empty optional if no such component. * @param <T> The component type. * @throws LookupException if there is some provisioning related issue. */ @Nonnull <T> Optional<T> lookupOptional(Class<T> type);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 3.3K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
private void validateIdentity() { if (empty(groupId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The groupId cannot be empty."); } if (artifactId == null) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The artifactId cannot be empty."); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Feb 09 19:20:54 GMT 2024 - 14.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
default Optional<Version> getLowerVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(0)); } @Nonnull default Optional<Version> getHigherVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(getVersions().size() - 1)); } @Nonnull
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 23:54:53 GMT 2024 - 1.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionTest.java
import java.util.List; import org.apache.maven.project.MavenProject; import org.junit.jupiter.api.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.is; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; /** */ class DefaultMavenExecutionTest {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
private static final Attributes.Name AUTO_MODULE_NAME = new Attributes.Name("Automatic-Module-Name"); /** * Module information for the path specified at construction time. * This map is usually either empty if no module was found, or a singleton map. * It may however contain more than one entry if module hierarchy was detected, * in which case there is one key per sub-directory. *
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 11.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchain.java
// * or an empty collection when the location is not set or is invalid. // * // * @return List // */ // List getSourceDirectories(); // // /** // * Returns a {@link java.io.File}s which represent the locations of the Javadoc for this platform, // * or empty collection if the location is not set or invalid // *
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultBuildResumptionDataRepositoryTest.java
import org.junit.jupiter.api.Test; import static java.util.Collections.singleton; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.hamcrest.Matchers.empty; import static org.hamcrest.Matchers.is; class DefaultBuildResumptionDataRepositoryTest { private final DefaultBuildResumptionDataRepository repository = new DefaultBuildResumptionDataRepository(); @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 3.9K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/id-container-joining-with-empty-elements/sub/pom.xml
<name>Maven Integration Test :: MNG-3979</name> <description> Test that during inheritance the merging/joining of subtrees with equal identifier doesn't crash if the parent POM has a non-empty element and the child POM has an empty element to join. </description> <properties/> <repositories> <repository> <id>equal-repo-id</id> <url>file:///${basedir}/null</url> <snapshots/>
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jul 18 17:22:19 GMT 2022 - 2.3K bytes - Viewed (0) -
maven-core/src/test/projects/project-builder/it0063/jdk/jre/placeholder.txt
need it so that empty directory does not get deleted...
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Jul 19 21:45:50 GMT 2021 - 53 bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/BuildModelTransformer.java
if (Files.isDirectory(pomPath)) { pomPath = context.locate(pomPath); } if (pomPath == null || !Files.isRegularFile(pomPath)) { return Optional.empty(); } Optional<RelativeProject> mappedProject = Optional.ofNullable(context.getRawModel(pomFile, pomPath.normalize())) .map(BuildModelTransformer::toRelativeProject);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7.1K bytes - Viewed (0)