Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 1,161 for IsEmpty (0.2 seconds)

  1. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
    
            List<Map<String, Object>> labels = jsonPath.getList("data");
            if (labels != null && !labels.isEmpty()) {
                Map<String, Object> firstLabel = labels.get(0);
                assertTrue(firstLabel.containsKey("label"), "Label should have 'label' property");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

          "Unexpected trust managers: ${result.contentToString()}"
        }
    
        val trustManager = result[0] as X509TrustManager
    
        return when {
          insecureHosts.isEmpty() -> trustManager
          Platform.isAndroid -> InsecureAndroidTrustManager(trustManager, insecureHosts)
          else -> InsecureExtendedTrustManager(trustManager as X509ExtendedTrustManager, insecureHosts)
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (1)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            final Set<String> notFoundRequiredProfiles = requiredProfiles.stream()
                    .filter(rap -> !allAvailableProfiles.contains(rap))
                    .collect(toSet());
    
            if (!notFoundRequiredProfiles.isEmpty()) {
                // Use SLF4J formatter for consistency with warnings reported by logger
                final String message = MessageFormatter.format(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. guava/src/com/google/common/collect/ContiguousSet.java

          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.size(), equalTo(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsEmpty() throws Exception {
            assertThat(map.isEmpty(), is(not(true)));
            map.clear();
            assertThat(map.isEmpty(), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsValue() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(expectedServer, result.getServer());
                // The implementation returns empty strings as empty strings, not null
                assertEquals(expectedShare.isEmpty() ? "" : expectedShare, result.getShare());
                assertEquals(expectedPath.isEmpty() ? "" : expectedPath, result.getPath());
            }
    
            @Test
            @DisplayName("Should handle path with multiple backslashes")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractBiMap.java

        delegate = forward;
      }
    
      private AbstractBiMap<V, K> checkMapsAndMakeInverse(Map<K, V> forward, Map<V, K> backward) {
        checkArgument(forward.isEmpty());
        checkArgument(backward.isEmpty());
        checkArgument(forward != backward);
        return makeInverse(backward);
      }
    
      AbstractBiMap<V, K> makeInverse(Map<V, K> backward) {
        return new Inverse<>(backward, this);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                for (Element moduleElement : moduleElements) {
                    moduleElement.name(SUBPROJECT);
                }
    
                if (!moduleElements.isEmpty()) {
                    context.detail("Converted " + moduleElements.size() + " <module> elements to <subproject>");
                }
            }
    
            // Also check inside profiles
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java

            assertNull(form.crudMode);
            assertNull(form.name);
            assertNull(form.password);
            assertNull(form.confirmPassword);
            assertNotNull(form.attributes);
            assertTrue(form.attributes.isEmpty());
    
            form.initialize();
            assertEquals(CrudMode.CREATE, form.crudMode.intValue());
        }
    
        @Test
        public void test_createForm_setName() {
            final CreateForm form = new CreateForm();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

      private fun RepositoryPlugin.deployClassPath() {
        val classpath = System.getProperty("java.class.path")
        val entries =
          classpath
            .split(File.pathSeparator.toRegex())
            .dropLastWhile { it.isEmpty() }
            .toTypedArray()
        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top