Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for isNotEmpty (0.06 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Checks if the string is not empty.
         *
         * @param text the string to check
         * @return true if not empty, false otherwise
         */
        public static final boolean isNotEmpty(final String text) {
            return !isEmpty(text);
        }
    
        /**
         * Replaces all occurrences of a substring within a string with another string.
         *
         * @param text
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (list == null) {
                list = split(getApiCorsAllowOrigin(), "\n")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).collect(Collectors.toList()));
                propMap.put(CORS_ALLOW_ORIGIN, list);
            }
            return list;
        }
    
        String getIndexerLanguageFields();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                                .stream();
                    } catch (OpenSearchStatusException | IllegalStateException e) {
                        final String msg = e.getMessage();
                        if (StringUtil.isNotEmpty(msg) || msg.contains("index.analyze.max_token_count")) {
                            logger.warn("Failed to parse document. ", e);
                            return Stream.empty();
                        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                final String pdfPassword) {
            final Metadata metadata = new Metadata();
            if (StringUtil.isNotEmpty(resourceName)) {
                metadata.set(ExtractData.RESOURCE_NAME_KEY, resourceName);
            }
            if (StringUtil.isNotBlank(contentType)) {
                metadata.set(ExtractData.CONTENT_TYPE, contentType);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            taskQueue.schedule("$name ping", pingIntervalNanos) {
              writePingFrame()
              return@schedule pingIntervalNanos
            }
          }
          if (messageAndCloseQueue.isNotEmpty()) {
            runWriter() // Send messages that were enqueued before we were connected.
          }
        }
    
        reader =
          WebSocketReader(
            isClient = client,
            source = socket.source,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

            }
            try {
              waitForIo()
            } finally {
              if (doReadTimeout) {
                readTimeout.exitAndThrowIfTimedOut()
              }
            }
          }
          if (headersQueue.isNotEmpty()) {
            return headersQueue.removeFirst()
          }
          throw errorException ?: StreamResetException(errorCode!!)
        }
      }
    
      /**
       * Returns the trailers if they're immediately available.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

         * @return The created OpenSearch client.
         */
        protected Client createClient() {
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Settings settings = Settings.builder().putList("http.hosts", hosts).build();
            return new HttpClient(settings, null);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param collection the collection
         * @return {@literal true} if the collection is not {@literal null} and not empty
         */
        public static boolean isNotEmpty(final Collection<?> collection) {
            return !isEmpty(collection);
        }
    
        /**
         * Returns {@literal true} if the given {@link Map} is {@literal null} or empty.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          if (MAGIC != magic ||
            VERSION_1 != version ||
            appVersion.toString() != appVersionString ||
            valueCount.toString() != valueCountString ||
            blank.isNotEmpty()
          ) {
            throw IOException(
              "unexpected journal header: [$magic, $version, $valueCountString, $blank]",
            )
          }
    
          var lineCount = 0
          while (true) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (StringUtil.isNotBlank(requiredKeysStr) && StreamUtil.split(requiredKeysStr, ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).anyMatch(name -> {
                            final String[] values = req.getParameterValues(name);
                            if (values == null || values.length == 0 || StringUtil.isEmpty(values[0])) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top