- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for orElseGet (0.06 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
ArtifactHandler handler = manager.getArtifactHandler(id); type = new DefaultType( id, languageRegistry.lookup(handler.getLanguage()).orElseGet(() -> handler::getLanguage), handler.getExtension(), handler.getClassifier(), handler.isIncludesDependencies(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
.filter(p -> artifact.equals(p.getArtifact())) .map(MavenProject::getRemoteArtifactRepositories) .findFirst() .orElseGet(() -> getRepositoriesFromModel(repositorySession, model)); } else { pomRepositories = new ArrayList<>(); } } else if (artifact instanceof ArtifactWithDependencies) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
/** * Returns the contained instance if it is present; {@code supplier.get()} otherwise. * * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code * Optional.orElseGet}, except when {@code supplier} returns {@code null}. In this case this * method throws an exception, whereas the Java 8+ method returns the {@code null} to the caller. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
validateOptionalProfiles(session, request.getProfileActivation()); LifecycleStarter lifecycleStarter = lookup.lookupOptional(LifecycleStarter.class, request.getBuilderId()) .orElseGet(() -> lookup.lookup(LifecycleStarter.class)); lifecycleStarter.execute(session); validateOptionalProjects(request, session);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)