- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 186 for orElse (0.08 sec)
-
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
final Map<String, Object> newDataMap = new LinkedHashMap<>(); for (final Map.Entry<String, Object> e : dataMap.entrySet()) { if (fieldConfigs.getConfig(e.getKey()).map(FieldConfigs.Config::isOverwrite).orElse(false) && e.getValue() instanceof final Object[] values && values.length > 0) { newDataMap.put(e.getKey(), values[values.length - 1]); } else {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
"CompileAllBuild_NGRemote" ) || isBuildCommitDistribution val Project.isBuildCommitDistribution: Boolean get() = providers.gradleProperty("buildCommitDistribution").map { it.toBoolean() }.orElse(false).get() fun Project.isInBuild(vararg buildTypeIds: String) = providers.environmentVariable("BUILD_TYPE_ID").orNull?.let { currentBuildTypeId -> buildTypeIds.any { currentBuildTypeId.endsWith(it) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Mar 07 05:49:29 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsFileConfigBhv.java
public FileConfigCB newConditionBean() { return new FileConfigCB(); } @Override protected Entity doReadEntity(ConditionBean cb) { return facadeSelectEntity(downcast(cb)).orElse(null); } public FileConfig selectEntityWithDeletedCheck(CBCall<FileConfigCB> cbLambda) { return facadeSelectEntityWithDeletedCheck(createCB(cbLambda)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}, validationErrorLambda); } final String oldPassword = getSession().map(session -> (String) session.getAttribute(INVALID_OLD_PASSWORD)).orElse(StringUtil.EMPTY); fessLoginAssist.findLoginUser(new LocalUserCredential(getUserBean().get().getUserId(), oldPassword)).orElseGet(() -> { throwValidationError(messages -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java
logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e))); } }).orElse(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); }); return asJson(new ApiResponse().status(Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (artifact == null) { return null; } Artifact result = toArtifact(artifact); List<Exclusion> excl = Optional.ofNullable(exclusions).orElse(Collections.emptyList()).stream() .map(RepositoryUtils::toExclusion) .collect(Collectors.toList()); return new Dependency(result, artifact.getScope(), artifact.isOptional(), excl);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToDeleteCrudTable(GLOBAL, buildThrowableMessage(e))); } }).orElse(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); }); return asJson(new ApiResponse().status(Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
parser.setDefaultOperator(Operator.valueOf(op)); } else { parser.setDefaultOperator(defaultOperator); } }).orElse(() -> { parser.setDefaultOperator(defaultOperator); }); return parser; } public void setDefaultField(final String defaultField) { this.defaultField = defaultField;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
pluginDescriptor.setInheritedByDefault(extractInheritedByDefault(c)); pluginDescriptor.setRequiredJavaVersion(extractRequiredJavaVersion(c).orElse(null)); pluginDescriptor.setRequiredMavenVersion(extractRequiredMavenVersion(c).orElse(null)); pluginDescriptor.addMojos(extractMojos(c, pluginDescriptor)); pluginDescriptor.setDependencies(extractComponentDependencies(c));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
// findLast(Stream) does some allocation, so we might as well box some more java.util.Optional<Integer> boxedLast = findLast(stream.boxed()); return boxedLast.map(OptionalInt::of).orElse(OptionalInt.empty()); } /** * Returns the last element of the specified stream, or {@link OptionalLong#empty} if the stream * is empty. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 37.4K bytes - Viewed (0)