- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 187 for idPresent (0.1 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
this.components = components; } @Override public <T> T lookup(Class<T> type) { Optional<T> optional = lookupOptional(type); if (optional.isPresent()) { return optional.get(); } else { throw new LookupException("No mapping for key: " + type.getName()); } } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
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);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (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. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 21 15:40:45 GMT 2025 - 36.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger(); stream(conditions.get(SearchRequestParams.AS_OCCURRENCE)) .of(stream -> stream.filter(this::isOccurrence).findFirst().ifPresent(q -> queryBuf.insert(0, q + ":"))); stream(conditions.get(SearchRequestParams.AS_Q)) .of(stream -> stream.filter(q -> StringUtil.isNotBlank(q) && q.length() <= maxQueryLength)
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.4K bytes - Click Count (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"; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (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() } } privateCreated: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 16:39:23 GMT 2025 - 12.8K bytes - Click Count (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 {
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
final RequestManager requestManager = ComponentUtil.getRequestManager(); try { requestManager.findUserBean(FessUserBean.class) .ifPresent(fessUserBean -> stream(fessUserBean.getPermissions()).of(stream -> stream.forEach(roleSet::add))) .orElse(() -> {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0)