- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ofNullable (0.19 sec)
-
src/main/java/org/codelibs/fess/ldap/LdapManager.java
OptionalUtil.ofNullable(user.getSurname()).filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrSurname(), s))); OptionalUtil.ofNullable(user.getGivenName()).filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrGivenName(), s))); OptionalUtil.ofNullable(user.getMail()).filter(StringUtil::isNotBlank)
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 65.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/OptionalUtil.java
*/ package org.codelibs.fess.util; import org.dbflute.optional.OptionalEntity; public class OptionalUtil { public static <T> OptionalEntity<T> ofNullable(final T entity) { return OptionalEntity.ofNullable(entity, () -> {}); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 866 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} public OptionalEntity<WebConfig> getWebConfig() { return OptionalUtil.ofNullable(webConfig); } public OptionalEntity<FileConfig> getFileConfig() { return OptionalUtil.ofNullable(fileConfig); } public LabelType[] getLabelTypes() { return labelList.toArray(new LabelType[labelList.size()]); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
} final long execTime = systemHelper.getCurrentTimeAsLong() - startTime; return searchResult.build(requestBuilder, execTime, OptionalEntity.ofNullable(response, () -> {})); } public <T> T search(final String index, final SearchCondition<SearchRequestBuilder> condition, final SearchResult<T, SearchRequestBuilder, SearchResponse> searchResult) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 84.1K bytes - Viewed (0)