- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for OptionalUtil (0.06 seconds)
-
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
// Test multiple different types in sequence to ensure type safety OptionalEntity<String> stringOpt = OptionalUtil.ofNullable("string"); OptionalEntity<Integer> intOpt = OptionalUtil.ofNullable(42); OptionalEntity<Boolean> boolOpt = OptionalUtil.ofNullable(true); OptionalEntity<Date> dateOpt = OptionalUtil.ofNullable(new Date()); assertTrue(stringOpt.isPresent()); assertTrue(intOpt.isPresent());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
OptionalUtil.ofNullable(user.getTelephoneNumber()) .filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrTelephoneNumber(), s))); OptionalUtil.ofNullable(user.getHomePhone()) .filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrHomePhone(), s)));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return OptionalUtil.ofNullable(webConfig); } /** * Gets the file crawling configuration generated from the parsed GSA config. * * @return an optional containing the file configuration, or empty if no file URLs were found */ public OptionalEntity<FileConfig> getFileConfig() { return OptionalUtil.ofNullable(fileConfig); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.6K bytes - Click Count (0)