Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 282 for _blank (0.05 seconds)

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

            // Add defensive null/blank checks
            if (StringUtil.isBlank(username) || StringUtil.isBlank(password)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Login failed: username or password is blank");
                }
                return OptionalEntity.empty();
            }
    
            if (StringUtil.isBlank(fessConfig.getLdapProviderUrl()) || !validate()) {
    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)
  2. src/main/java/org/codelibs/fess/helper/RelatedQueryHelper.java

         * If the virtual host is blank or null, returns an empty string.
         *
         * @param entity the RelatedQuery entity to extract the host key from
         * @return the virtual host key, or empty string if blank or null
         */
        protected String getHostKey(final RelatedQuery entity) {
            final String key = entity.getVirtualHost();
            return StringUtil.isBlank(key) ? StringUtil.EMPTY : key;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

         *
         * @param value the permission string to encode
         * @return the encoded permission string, or null if the input is blank or invalid
         */
        public String encode(final String value) {
            if (StringUtil.isBlank(value)) {
                return null;
            }
    
            String permission = value.trim();
            String lower = permission.toLowerCase(Locale.ROOT);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 13 05:54:52 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

            return true;
        }
    
        /**
         * Returns true if the string is not blank.
         *
         * @param str
         *            the string to check
         * @return {@literal true} if the string is not blank
         * @see #isBlank(String)
         */
        public static boolean isNotBlank(final String str) {
            return !isBlank(str);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

        }
    
        /**
         * Test getAnchorSet with blank string
         */
        @Test
        public void test_getAnchorSet_withBlankString() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    
            Set<RequestData> result = crawlerThread.getAnchorSet("");
            assertNull(result, "getAnchorSet should return null for blank string");
    
            result = crawlerThread.getAnchorSet("   ");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SID.java

        }
    
        /**
         * Checks whether the SID is blank (all sub-authorities zero).
         *
         * @return whether the SID is blank (all sub-authorities zero)
         */
        public boolean isBlank() {
            boolean blank = true;
            for (final int sub : this.sub_authority) {
                blank = blank && sub == 0;
            }
            return blank;
        }
    
        /**
         *
         * @return domain SID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

         *
         * @param u the URL string to extract host from
         * @return the host name, or empty string if URL is blank, or unknown hostname if parsing fails
         */
        default String getHost(final String u) {
            if (StringUtil.isBlank(u)) {
                return StringUtil.EMPTY; // empty
            }
    
            String url = u;
            final String originalUrl = url;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

            this.relatedContentMap = relatedContentMap;
            return relatedContentMap.size();
        }
    
        /**
         * Extracts the virtual host key from a RelatedContent entity.
         * If the virtual host is blank or null, returns an empty string.
         * This key is used to organize related content by virtual host.
         *
         * @param entity the RelatedContent entity to extract the host key from
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    return true;
                }
            }
            // Also allow "/" as a valid path (used in loadJspFileNameItems for blank keys)
            return "/".equals(path);
        }
    
        // ===================================================================================
        //                                                                        Small Helper
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

         * @param defaultValue the default value to return if key is not found or value is blank
         * @return the value from the map or the default value
         */
        private String getValueFromMap(final Map<String, String> dataMap, final String key, final String defaultValue) {
            final String value = dataMap.get(key);
            if (StringUtil.isBlank(value)) {
                return defaultValue;
            }
            return value;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top