Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ofNullable (0.1 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                    .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)));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/OptionalUtil.java

         *
         * @param <T> the type of the entity
         * @param entity the entity (can be null)
         * @return the OptionalEntity
         */
        public static <T> OptionalEntity<T> ofNullable(final T entity) {
            return OptionalEntity.ofNullable(entity, () -> {});
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. 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);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            }
            final long execTime = systemHelper.getCurrentTimeAsLong() - startTime;
    
            return searchResult.build(requestBuilder, execTime, OptionalEntity.ofNullable(response, () -> {}));
        }
    
        /**
         * Performs a search with custom conditions and result processing.
         *
         * @param <T>          the result type
         * @param index        the index name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
Back to top