Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 784 for useEmpty (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
                  + ": no CollectionSizes specified (check the argument to "
                  + "FeatureSpecificTestSuiteBuilder.withFeatures().)");
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. 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());
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. 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";
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

                }
            }
        }
    
        private void injectDependencyDefaults(List<Dependency> dependencies) {
            for (Dependency dependency : dependencies) {
                if (StringUtils.isEmpty(dependency.getScope())) {
                    // we cannot set this directly in the MDO due to the interactions with dependency management
                    dependency.setScope("compile");
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
    
                if (context.options().goals().isEmpty()
                        || context.options().goals().get().size() != 1) {
                    return badGoalsErrorMessage("No goal or multiple goals specified, specify only one goal.", context);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

                context.reader =
                        LineReaderBuilder.builder().terminal(context.terminal).build();
    
                if (context.options().goals().isEmpty()) {
                    return badGoalsErrorMessage("No goals specified.", context);
                }
    
                String goalName = context.options().goals().get().get(0);
                Goal goal = context.goals.get(goalName);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    + ":" + artifact.getArtifactId()
                    + ":" + artifact.getArtifactHandler().getExtension()
                    + (artifact.getClassifier() == null || artifact.getClassifier().isEmpty()
                            ? ""
                            : ":" + artifact.getClassifier())
                    + ":" + artifact.getVersion();
        }
    
        private String id(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Nov 24 20:45:41 GMT 2025
    - 5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource);
    
            var activeResources = resourceManager.getActiveResources();
            assertNotNull(activeResources);
            assertFalse(activeResources.isEmpty());
    
            boolean found = activeResources.stream().anyMatch(desc -> desc.contains("TestResource"));
            assertTrue(found);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top