Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 992 for IsEmpty (1.65 sec)

  1. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

            final ListResultBean<WebConfig> list = webConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores a web configuration.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

                s = AuthScope.ANY_SCHEME;
            }
    
            return new AuthScope(getHostname(), p, r, s);
        }
    
        private Credentials getCredentials() {
            if (StringUtil.isEmpty(getUsername())) {
                throw new CrawlerSystemException(
                        "Username is empty in WebAuthentication configuration. A valid username must be provided for authentication.");
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. 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;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. 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 &&
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify results
            assertTrue(exceptions.isEmpty());
            assertEquals(threadCount * objectsPerThread, createdComponents.size());
    
            // Check all components are unique (for prototype)
            for (int i = 0; i < createdComponents.size(); i++) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

         * @throws CrawlingAccessException if access is denied
         */
        protected Blob getBlob(final String bucketName, final String path) {
            if (StringUtil.isEmpty(path)) {
                return null;
            }
    
            try {
                return storage.get(BlobId.of(bucketName, path));
            } catch (final StorageException e) {
                final int code = e.getCode();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         * cache-control headers.
         */
        open fun cacheControl(cacheControl: CacheControl): Builder {
          val value = cacheControl.toString()
          return when {
            value.isEmpty() -> removeHeader("Cache-Control")
            else -> header("Cache-Control", value)
          }
        }
    
        open fun get(): Builder = method("GET", null)
    
        open fun head(): Builder = method("HEAD", null)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            List<KerberosAuthData> authorizations = relevantAuthData.getAuthorizations();
            assertNotNull(authorizations, "The authorizations list should not be null.");
            assertTrue(authorizations.isEmpty(), "The authorizations list should be empty.");
        }
    
        /**
         * Test the getAuthorizations method.
         *
         * @throws IOException if ASN.1 encoding fails.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete");
            executor.shutdown();
    
            // Then - All operations should succeed
            assertTrue(exceptions.isEmpty(), "No exceptions should occur");
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/CaseFormatTest.java

          assertWithMessage("%s to %s", from, from).that(from.to(from, "foo")).isSameInstanceAs("foo");
          for (CaseFormat to : CaseFormat.values()) {
            assertWithMessage("%s to %s", from, to).that(from.to(to, "")).isEmpty();
            assertWithMessage("%s to %s", from, to).that(from.to(to, " ")).isEqualTo(" ");
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullArguments() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top