Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 912 for useEmpty (0.05 seconds)

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

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
            return protocols // Client advertises these protocols.
          } else if ((methodName == "selectProtocol" || methodName == "select") &&
            String::class.java == returnType &&
            callArgs.size == 1 &&
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbExceptionTest.java

            // Then
            assertNotNull(exception);
            assertEquals(ntStatus, exception.getNtStatus());
            assertNotNull(exception.getMessage());
            assertFalse(exception.getMessage().isEmpty());
        }
    
        @Test
        @DisplayName("Should format error message for file not found")
        void testFileNotFoundError() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Test with reflection to access protected method
            List<String> names = testFactory.loadDataStoreNameList();
            assertTrue(names.isEmpty() || names.size() >= 0); // Will be empty due to ResourceUtil static method
        }
    
        // Test loadDataStoreNameList with malformed XML
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            } else {
                fileConfigList = Collections.emptyList();
            }
    
            if (webConfigList.isEmpty() && fileConfigList.isEmpty()) {
                // nothing
                if (logger.isInfoEnabled()) {
                    logger.info("No crawling target urls.");
                }
                return;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             */
            @Nonnull
            public DependencyResolverRequestBuilder dependency(@Nullable DependencyCoordinates dependency) {
                if (dependency != null) {
                    if (this.dependencies.isEmpty()) {
                        this.dependencies = new ArrayList<>();
                    }
                    this.dependencies.add(dependency);
                }
                return this;
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/BooleansTest.java

      }
    
      @SuppressWarnings({"CollectionIsEmptyTruth", "CollectionIsNotEmptyTruth"})
      public void testAsListIsEmpty() {
        assertThat(Booleans.asList(EMPTY).isEmpty()).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE).isEmpty()).isFalse();
      }
    
      @SuppressWarnings("CollectionSizeTruth")
      public void testAsListSize() {
        assertThat(Booleans.asList(EMPTY).size()).isEqualTo(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
  7. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldReturnMeaningfulToString() {
                String result = transport.toString();
                assertTrue(result.startsWith("Transport"));
                assertFalse(result.isEmpty());
            }
    
            @Test
            @DisplayName("should handle response map operations")
            void shouldHandleResponseMapOperations() {
                assertEquals(0, transport.getResponseMapSize());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            String localRepository = userSettings.getLocalRepository();
            if (localRepository != null && !localRepository.isEmpty()) {
                File file = new File(localRepository);
                if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) {
                    userSettings.setLocalRepository(file.getAbsolutePath());
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertNotNull(queryBuilder);
    
            // Should not add empty highlight
            assertTrue(queryContext.getHighlightedQuerySet().isEmpty());
        }
    
        @Test
        public void test_execute_withWildcardQuery() throws Exception {
            QueryContext queryContext = new QueryContext("test*", false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
Back to Top