- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 53 for orElseGet (0.1 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java
// GET /api/admin/crawlinginfo/log/{id} @Execute public JsonResponse<ApiResult> get$log(final String id) { return asJson(new ApiLogResponse().log(crawlingInfoService.getCrawlingInfo(id).map(this::createEditBody).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; })).status(Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java
// GET /api/admin/failureurl/log/{id} @Execute public JsonResponse<ApiResult> get$log(final String id) { return asJson(new ApiLogResponse().log(failureUrlService.getFailureUrl(id).map(this::createEditBody).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; })).status(Status.OK).result()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
.map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL), () -> downloadpage(form.dictId)); return null;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
.map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), () -> downloadpage(form.dictId)); return null;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java
RenderDataUtil.register(data, "running", processHelper.isProcessRunning(entity.getSessionId())); })).orElseGet(() -> { throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml); return null; }); } @Execute
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
return e.getFirst(); } return null; }).filter(StringUtil::isNotBlank).findFirst()// .map(s -> clientFactory.getClient(s + ":" + url))// .orElseGet(() -> clientFactory.getClient(url)); if (logger.isDebugEnabled()) { logger.debug("CrawlerClient: {}", client.getClass().getCanonicalName()); } return client; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
if (logger.isDebugEnabled()) { logger.debug("username: {}", Arrays.toString(username)); } return new SpnegoCredential(username[0]); }).orElseGet(() -> null); } protected static class SpengoConfig implements FilterConfig { @Override public String getFilterName() { return SpnegoAuthenticator.class.getName();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
.filter(p -> artifact.equals(p.getArtifact())) .map(MavenProject::getRemoteArtifactRepositories) .findFirst() .orElseGet(() -> getRepositoriesFromModel(repositorySession, model)); } else { pomRepositories = new ArrayList<>(); } } else if (artifact instanceof ArtifactWithDependencies) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
final UserInfo userInfo = userInfoBhv.selectByPK(userCode).map(e -> { e.setUpdatedAt(now); return e; }).orElseGet(() -> { final UserInfo e = new UserInfo(); e.setId(userCode); e.setCreatedAt(now); e.setUpdatedAt(now); return e; });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 02:07:37 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
} catch (final Exception e) { throw new SsoLoginException("Invalid SAML redirect URL.", e); } }).orElseGet(() -> null); } protected LoginCredential createLoginCredential(final HttpServletRequest request, final HttpServletResponse response, final Auth auth) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 15.2K bytes - Viewed (0)