- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for ofNullable (0.07 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
} @Override public Optional<Path> rootDirectory() { return Optional.ofNullable(rootDirectory); } @Override public Optional<InputStream> in() { return Optional.ofNullable(in); } @Override public Optional<OutputStream> out() { return Optional.ofNullable(out); } @Override public Optional<OutputStream> err() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/BuildModelSourceTransformer.java
Parent parent = model.getParent(); if (parent != null) { String version = parent.getVersion(); String path = Optional.ofNullable(parent.getRelativePath()).orElse(".."); if (version == null && !path.isEmpty()) { Optional<RelativeProject> resolvedParent = resolveRelativePath(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
return Optional.ofNullable(session.getProject(delegate.getProject())); } @Override public Optional<MojoExecution> getMojoExecution() { return Optional.ofNullable(delegate.getMojoExecution()).map(me -> new DefaultMojoExecution(session, me)); } @Override public Optional<Exception> getException() { return Optional.ofNullable(delegate.getException()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
@Override public Optional<Path> getPomFile() { return Optional.ofNullable(res.getPomFile()).map(File::toPath); } @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(res.getProject())); } @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
public Optional<Source> getInstallationSettingsSource() { return Optional.ofNullable(installationSettingsSource); } @Nonnull @Override public Optional<Source> getProjectSettingsSource() { return Optional.ofNullable(projectSettingsSource); } @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 7.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
public Optional<Source> getInstallationToolchainsSource() { return Optional.ofNullable(installationToolchainsSource); } @Nonnull @Override public Optional<Source> getUserToolchainsSource() { return Optional.ofNullable(userToolchainsSource); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 22 14:47:43 UTC 2024 - 5.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
} @Override public <T> T lookup(Class<T> type, String name) { return lookup(type); } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.ofNullable(type.cast(components.get(type))); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return lookupOptional(type); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:19:14 UTC 2024 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
} Path path = paths.get(id); if (path == null && artifact instanceof DefaultArtifact) { path = ((DefaultArtifact) artifact).getArtifact().getPath(); } return Optional.ofNullable(path); } @Override public void setPath(@Nonnull ProducedArtifact artifact, Path path) { String id = id(nonNull(artifact, "artifact"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0)