- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for orElse (0.47 sec)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
val computedSuffix = specifiedSuffix .orElse(buildVersionQualifierSuffix) .orElse(buildTimestampSuffix) val baseVersion = trimmedContentsOfFile("version.txt") version = baseVersion.zip(computedSuffix) { base, suffix -> GradleVersion.version("$base$suffix") } snapshot = specifiedSuffix.map { false }.orElse(true) releasedVersions = version.map {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
Options options = invokerRequest.options().orElseThrow(); Assertions.assertFalse(options.showVersion().orElse(false)); Assertions.assertFalse(options.showVersionAndExit().orElse(false)); Assertions.assertTrue(options.showErrors().orElse(false)); Assertions.assertTrue(options.verbose().orElse(false)); // user home Assertions.assertTrue(invokerRequest.userProperties().containsKey("user.property"));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJob.java
return ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).map(LaScheduledJob::isExecutingNow).orElse(false); } public void start() { ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> { job.launchNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public void stop() {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/NotificationHelper.java
buf.append("{\"text\":\""); buf.append(LF); buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim())); buf.append(LF).append("```"); buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim())); buf.append(LF).append("```\"}"); return buf.toString(); } /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* <pre>{@code * // Find child element * Element child = parent.child("version").orElse(null); * * // Check if child exists * boolean hasVersion = parent.child("version").isPresent(); * * // Get child text content * String version = parent.child("version") * .map(Element::textContent) * .orElse(null); * * // Get trimmed text content * String trimmedVersion = parent.child("version")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java
if (root == null) { return MODEL_VERSION_4_0_0; } // First try to get from modelVersion element Element modelVersionElement = root.child(MODEL_VERSION).orElse(null); if (modelVersionElement != null) { String modelVersion = modelVersionElement.textContentTrimmed(); if (!modelVersion.isEmpty()) { return modelVersion; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 9.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java
MavenContext result = residentContext.computeIfAbsent( "resident", k -> new MavenContext(invokerRequest, false, (MavenOptions) invokerRequest.options().orElse(null))); return copyIfDifferent(result, invokerRequest); } protected MavenContext copyIfDifferent(MavenContext mavenContext, InvokerRequest invokerRequest) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 4.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
if (invokerRequest.effectiveVerbose()) { loggerLevel = Slf4jConfiguration.Level.DEBUG; slf4jConfiguration.setRootLoggerLevel(loggerLevel); } else if (options.quiet().orElse(false)) { loggerLevel = Slf4jConfiguration.Level.ERROR; slf4jConfiguration.setRootLoggerLevel(loggerLevel); } else { // fall back to default log level specified in conf
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 21:10:33 UTC 2025 - 6.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java
} @Override protected EncryptContext createContext(InvokerRequest invokerRequest) { return new EncryptContext( invokerRequest, (EncryptOptions) invokerRequest.options().orElse(null)); } @Override protected void lookup(EncryptContext context) throws Exception { if (context.goals == null) { super.lookup(context);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 11 13:14:09 UTC 2025 - 4.5K bytes - Viewed (0)