- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 187 for ifPresent (0.04 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
} @Override public boolean presentInConfig( org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).isPresent(); } private static boolean isPackaging(ProfileActivationContext context, String p) { String packaging = context.getUserProperties().get(ProfileActivationContext.PROPERTY_NAME_PACKAGING);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.5K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 21 15:40:45 UTC 2025 - 36.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 3.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
public String testDoUpgradeLogic(UpgradeContext context, String expectedTargetModel) { UpgradeOptions options = context.options(); if (options.modelVersion().isPresent()) { return options.modelVersion().get(); } else if (options.all().orElse(false)) { return "4.1.0"; } else { return "4.0.0"; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt
}) } val integTestUseAgentSysPropName = "org.gradle.integtest.agent.allowed" val integtestAgentAllowed = project.providers.gradleProperty(integTestUseAgentSysPropName); if (integtestAgentAllowed.isPresent) { val shouldUseAgent = integtestAgentAllowed.get().toBoolean() systemProperties[integTestUseAgentSysPropName] = shouldUseAgent.toString() } } privateRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 18 16:39:23 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java
if (jobExecutor == null) { throw new ScheduledJobException("No jobExecutor: " + scriptType); } if (!jobManager.findJobByUniqueOf(LaJobUnique.of(id)).isPresent()) { if (logger.isDebugEnabled()) { logger.debug("Job is running: id={}", id); } return; } TimeoutTask task = null; try {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java
Map<String, String> user = new HashMap<>(invokerRequest.userProperties()); user.put("session.topDirectory", invokerRequest.topDirectory().toString()); if (invokerRequest.rootDirectory().isPresent()) { user.put( "session.rootDirectory", invokerRequest.rootDirectory().get().toString()); } this.protoSession = ProtoSession.newBuilder()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
* otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
&& (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0) .transform(Method::getDeclaringClass); if (!supersWithPackagePrivateWriteReplace.isPresent()) { continue; } assertWithMessage( "To help optimizers, any class that inherits a package-private writeReplace() method" + " should override that method.\n"
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 03:07:54 UTC 2025 - 5.1K bytes - Viewed (0)