Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 137 for isBlank (0.03 sec)

  1. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

         *
         * @param objectName the full object path
         * @return the name portion of the path
         */
        private String getName(final String objectName) {
            if (StringUtil.isBlank(objectName)) {
                return StringUtil.EMPTY;
            }
            // Remove trailing slash if present
            String name = objectName;
            if (name.endsWith("/")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        groupId, artifactId, getVersion(), type, "The version cannot be empty.");
            }
        }
    
        public static boolean empty(String value) {
            return value == null || value.isBlank();
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public boolean hasClassifier() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

         * @param filename The filename to normalize.
         * @return The normalized filename.
         */
        protected String normalizeFilename(final String filename) {
            if (StringUtil.isBlank(filename)) {
                return filename;
            }
            final StringBuilder buf = new StringBuilder(filename.length() + 10);
            for (int i = 0; i < filename.length(); i++) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
            }
    
            final String[] values = header.split(" ");
            if (values.length != 2) {
                return null;
            }
    
            final String path;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

         */
        protected String getThemeName(final Artifact artifact) {
            final String themeName = artifact.getName().substring(ArtifactType.THEME.getId().length() + 1);
            if (StringUtil.isBlank(themeName)) {
                throw new ThemeException("Theme name is empty: " + artifact);
            }
            return themeName;
        }
    
        /**
         * Recursively deletes a directory and all its contents.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        protected boolean isEmptyArray(final String[] values) {
            if (values == null || values.length == 0) {
                return true;
            }
            return stream(values).get(stream -> stream.allMatch(StringUtil::isBlank));
        }
    
        /**
         * Simplifies the array.
         *
         * @param values The array.
         * @return The simplified array.
         */
        protected static String[] simplifyArray(final String[] values) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/QueryContext.java

                } else {
                    this.queryString = queryString;
                }
            } else {
                this.queryString = queryString;
            }
            if (StringUtil.isBlank(this.queryString)) {
                this.queryString = "*";
            }
            if (isQuery) {
                LaRequestUtil.getOptionalRequest().ifPresent(request -> {
                    highlightedQuerySet = new HashSet<>();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                final int c = bomIn.read(b);
    
                if (c == -1) {
                    return encoding;
                }
    
                final String head = new String(b, 0, c, encoding);
                if (StringUtil.isBlank(head)) {
                    return encoding;
                }
                final Matcher matcher = getEncodingPattern().matcher(head);
                if (matcher.find()) {
                    final String enc = matcher.group(1);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                Object childDirectory = context.get(CHILD_DIRECTORY);
                Object childPathAdjustment = context.get(CHILD_PATH_ADJUSTMENT);
    
                if (StringUtils.isBlank(parentUrl)
                        || childDirectory == null
                        || childPathAdjustment == null
                        || !appendPath) {
                    return parentUrl;
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                crawler.setSessionId(sid);
                sessionIdList.add(sid);
    
                final String urlsStr = webConfig.getUrls();
                if (StringUtil.isBlank(urlsStr)) {
                    logger.warn("[{}] No target urls. Skipped.", webConfig.getName());
                    break;
                }
    
                // interval time
                final int intervalTime =
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top