- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for orElse (0.06 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
} if (mavenOptions.showVersionAndExit().orElse(false)) { cmdAndArguments.add("--version"); } if (mavenOptions.showVersion().orElse(false)) { cmdAndArguments.add("--show-version"); } if (mavenOptions.quiet().orElse(false)) { cmdAndArguments.add("--quiet"); } if (mavenOptions.verbose().orElse(false)) { cmdAndArguments.add("--verbose");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false)); request.setGoals(options.goals().orElse(List.of())); request.setReactorFailureBehavior(determineReactorFailureBehaviour(context)); request.setRecursive(!options.nonRecursive().orElse(!request.isRecursive())); request.setOffline(options.offline().orElse(request.isOffline()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java
assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isCache).orElse(false)); assertFalse(fieldConfigs.getConfig("foo").map(FieldConfigs.Config::isOverwrite).orElse(false)); assertEquals("bar", fieldConfigs.getConfig("foo").map(FieldConfigs.Config::getValues).orElse(new String[0])[0]); } public void test_cache_true() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 3.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
if (invokerRequest.options().quiet().orElse(false)) { writer.accept(CLIReportingUtils.showVersionMinimal()); } else if (invokerRequest.options().verbose().orElse(false)) { writer.accept(CLIReportingUtils.showVersion( ProcessHandle.current().info().commandLine().orElse(null), describe(context.terminal))); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt
get() = environmentVariable(BUILD_COMMIT_ID) .orElse(gradleProperty(BUILD_PROMOTION_COMMIT_ID)) .orElse(environmentVariable(BUILD_VCS_NUMBER)) .orElse(currentGitCommitViaFileSystemQuery()) val Project.isBuildCommitDistribution: Boolean get() = gradleProperty(BUILD_COMMIT_DISTRIBUTION).map { it.toBoolean() }.orElse(false).get() val Project.buildFinalRelease: Provider<String>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java
public HtmlResponse list(final OptionalThing<Integer> pageNumber, final SearchForm form) { pageNumber.ifPresent(num -> { schedulerPager.setCurrentPageNumber(pageNumber.get()); }).orElse(() -> { schedulerPager.setCurrentPageNumber(0); }); return asHtml(path_AdminScheduler_AdminSchedulerJsp).renderWith(data -> { searchPaging(data, form); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 18.1K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
is NodeWithSimpleName<*> -> "${inferClassName(unit)}.${it.nameAsString}" else -> unit.primaryTypeName.orElse(file.name) } private fun inferClassName(unit: CompilationUnit) = "${unit.packageDeclaration.map { it.nameAsString }.orElse("")}.${unit.primaryTypeName.orElse("")}" private inline fun tryResolve(resolver: () -> String, or: () -> String) = try { resolver()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 12.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
.filter(Expression::isLiteralStringValueExpr) .map(Expression::asLiteralStringValueExpr) .map(LiteralStringValueExpr::getValue) .orElse(null); getCurrentClass().getConstants().put(constName, value); }); } } private TypeMetaData extractTypeName(Type type) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
})); } public Set<String> build(final SearchRequestType searchRequestType) { final Set<String> roleSet = new HashSet<>(); final HttpServletRequest request = LaRequestUtil.getOptionalRequest().orElse(null); final FessConfig fessConfig = ComponentUtil.getFessConfig(); final boolean isApiRequest =
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 11.5K bytes - Viewed (0)