Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 836 for isEmpty (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      }
    }
    
    fun CookieJar.receiveHeaders(
      url: HttpUrl,
      headers: Headers,
    ) {
      if (this === CookieJar.NO_COOKIES) return
    
      val cookies = Cookie.parseAll(url, headers)
      if (cookies.isEmpty()) return
    
      saveFromResponse(url, cookies)
    }
    
    /**
     * Returns true if the response headers and status indicate that this response has a (possibly
     * 0-length) body. See RFC 7231.
     */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

        static boolean matchesLayout(String repoLayout, String mirrorLayout) {
            boolean result = false;
    
            // simple checks first to short circuit processing below.
            if ((mirrorLayout == null || mirrorLayout.isEmpty()) || WILDCARD.equals(mirrorLayout)) {
                result = true;
            } else if (mirrorLayout.equals(repoLayout)) {
                result = true;
            } else {
                // process the list
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                long counter = 0;
                final Deque<String> urlQueue = new LinkedList<>();
                final Set<String> processedUrls = new HashSet<>();
                urlQueue.offer(url);
                while (!urlQueue.isEmpty() && (maxAccessCount < 0 || counter < maxAccessCount)) {
                    counter++;
                    final Map<String, Object> localDataMap =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            List<Expression> expressions = documentation.getExpressions();
    
            Map<String, Expression> bySyntax = new HashMap<>();
    
            if (expressions != null && !expressions.isEmpty()) {
                for (Expression expression : expressions) {
                    bySyntax.put(expression.getSyntax(), expression);
                }
            }
    
            return bySyntax;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        public static MavenOptions layerMavenOptions(Collection<MavenOptions> options) {
            List<MavenOptions> o = options.stream().filter(Objects::nonNull).toList();
            if (o.isEmpty()) {
                throw new IllegalArgumentException("No options specified (or all were null)");
            } else if (o.size() == 1) {
                return o.get(0);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            return new ApiErrorResponse().message(message).status(status).result();
        }
    
        protected String createMessage(final ApiFailureResource resource, final Throwable cause) {
            if (!resource.getMessageList().isEmpty()) {
                return resource.getMessageList().stream().collect(Collectors.joining(" "));
            }
    
            if (cause == null) {
                return "Unknown error";
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          return;
        }
        File temp = Files.createTempDir();
        try {
          assertThat(temp.exists()).isTrue();
          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Platform.java

      static String formatCompact4Digits(double value) {
        return String.format(Locale.ROOT, "%.4g", value);
      }
    
      static boolean stringIsNullOrEmpty(@CheckForNull String string) {
        return string == null || string.isEmpty();
      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                List<String> ruleList =
                        Analysis.parseWordList(env, settings, USER_DICT_PATH_OPTION, USER_DICT_RULES_OPTION, s -> parse(s, dup));
                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         * @param destZip the target zip file
         * @param srcFiles the mapping of relative path to the file
         */
        private
        fun zip(destZip: File, srcFiles: List<Pair<String, File>>) {
            if (srcFiles.isEmpty()) {
                return
            }
            destZip.parentFile.mkdirs()
            ZipOutputStream(FileOutputStream(destZip), StandardCharsets.UTF_8).use { zipOutput ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top