Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,161 for IsEmpty (0.18 seconds)

  1. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

            String c = getClassifier();
            return getGroupId()
                    + ':'
                    + getArtifactId()
                    + ':'
                    + getExtension()
                    + (c.isEmpty() ? "" : ":" + c)
                    + ':'
                    + getVersion();
        }
    
        /**
         * {@return the group identifier of the artifact}.
         *
         * @see ArtifactCoordinates#getGroupId()
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

            }
        }
    
        @Override
        public List<String> readMultipleLines() throws IOException {
            List<String> lines = new ArrayList<>();
            for (String line = readLine(); line != null && !line.isEmpty(); line = readLine()) {
                lines.add(line);
            }
            return lines;
        }
    
        @Override
        public void write(String line) throws IOException {
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:48:41 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

         *
         * @param markdown the markdown text to render
         * @return sanitized HTML string
         */
        public String render(final String markdown) {
            if (markdown == null || markdown.isEmpty()) {
                return "";
            }
    
            try {
                // Parse markdown to AST
                final var document = markdownParser.parse(markdown);
    
                // Render AST to HTML
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

        if (enforceOrder) {
          checkForStartEvent(e)
        }
    
        eventsForMatching.offer(e)
        eventSequence.offer(e)
      }
    
      private fun checkForStartEvent(e: CallEvent) {
        if (eventsForMatching.isEmpty()) {
          assertThat(e).matchesPredicate { it is CallStart || it is Canceled }
        } else {
          eventsForMatching.forEach loop@{
            when (e.closes(it)) {
              null -> return
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

                );
            }
            resources.add(resource);
        }
    
        @TaskAction
        public void doExport() {
            if (resources.isEmpty()) {
                setDidWork(false);
                throw new StopExecutionException();
            }
            resources.stream().parallel().forEach(resourcePath -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                                tasks = ""
                                workingDir = os.perfTestWorkingDir
    
                                val typeExtraParameters = if (type.extraParameters.isEmpty()) "" else " ${type.extraParameters}"
    
                                gradleParams =
                                    (
                                        performanceTestCommandLine(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
        // Populate the results list with null initially.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            if (dependencies == null) {
                throw new GradleException("No dependencies variable defined.");
            }
    
            if (dependencies.isEmpty()) {
                if (licensesDir.exists()) {
                    throw new GradleException("Licenses dir " + licensesDir + " exists, but there are no dependencies");
                }
                return; // no dependencies to check
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java

            String response = checkMethodBase(searchBody).get(API_PATH + "/logs").asString();
            List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs");
    
            if (logs.isEmpty()) {
                logger.warn("No failure URL logs found, skipping testReadFailureUrlLog");
                return;
            }
    
            String logId = logs.get(0).get("id").toString();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top