- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for ifPresent (0.09 sec)
-
src/main/java/org/codelibs/fess/util/WebApiUtil.java
public static void setError(final int statusCode, final String message) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message))); } public static void setError(final int statusCode, final Exception e) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, e))); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); buf.append(CACHE_KEY_SPLITTER); stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); buf.append(CACHE_KEY_SPLITTER); stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); buf.append(CACHE_KEY_SPLITTER);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
.ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)).orElse(() -> { logger.warn("Job {} is not found.", scheduledJob.getId()); }); return params; }; findJobByUniqueOf(LaJobUnique.of(id)).ifPresent(job -> { if (!job.isUnscheduled()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
// ============== @Execute public HtmlResponse index() { getSession().ifPresent(session -> session.removeAttribute(INVALID_OLD_PASSWORD)); return asIndexPage(null).useForm(LoginForm.class); } private HtmlResponse asIndexPage(final LoginForm form) { if (form != null) {
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/service/KuromojiService.java
getKuromojiFile(dictId).ifPresent(file -> { if (kuromojiItem.getId() == 0) { file.insert(kuromojiItem); } else { file.update(kuromojiItem); } }); } public void delete(final String dictId, final KuromojiItem kuromojiItem) { getKuromojiFile(dictId).ifPresent(file -> { file.delete(kuromojiItem);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java
ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> { job.launchNow(); }).orElse(() -> { throw new JobNotFoundException(this); }); } public void stop() { ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> { job.stopNow(); }).orElse(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/CharMappingService.java
getCharMappingFile(dictId).ifPresent(file -> { if (charMappingItem.getId() == 0) { file.insert(charMappingItem); } else { file.update(charMappingItem); } }); } public void delete(final String dictId, final CharMappingItem charMappingItem) { getCharMappingFile(dictId).ifPresent(file -> { file.delete(charMappingItem);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
getProtwordsFile(dictId).ifPresent(file -> { if (protwordsItem.getId() == 0) { file.insert(protwordsItem); } else { file.update(protwordsItem); } }); } public void delete(final String dictId, final ProtwordsItem protwordsItem) { getProtwordsFile(dictId).ifPresent(file -> { file.delete(protwordsItem);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java
return getStemmerOverrideFile(dictId).map(file -> file.get(id).get()); } public void store(final String dictId, final StemmerOverrideItem stemmerOvberrideItem) { getStemmerOverrideFile(dictId).ifPresent(file -> { if (stemmerOvberrideItem.getId() == 0) { file.insert(stemmerOvberrideItem); } else { file.update(stemmerOvberrideItem); } });
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
parser.parse(new InputSource(is)); } parser.getWebConfig().ifPresent(c -> { logger.debug(c.toString()); }).orElse(() -> fail()); parser.getFileConfig().ifPresent(c -> { logger.debug(c.toString()); }).orElse(() -> fail()); LabelType[] labelTypes = parser.getLabelTypes();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.2K bytes - Viewed (0)