Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 700 for IsEmpty (0.06 sec)

  1. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                    throw new InvalidAccessTokenException("invalid_token", "Access token is requried.");
                                }
                                if (!hasAccessToken || roleSet.isEmpty()) {
                                    roleSet.addAll(fessConfig.getSearchGuestRoleList());
                                }
                            });
                } catch (final RuntimeException e) {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SidResolverTest.java

            Map<SID, List<SID>> result = sidResolver.getLocalGroupsMap(mockContext, testServerName, 0);
    
            assertNotNull(result);
            assertTrue(result.isEmpty());
        }
    
        @Test
        void testGetLocalGroupsMap_WithSidFlagResolveSids() throws CIFSException {
            Map<SID, List<SID>> expectedMap = new HashMap<>();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        void takeSuccessfully() {
          assertEquals(EXPECTED_TAKE, takeUninterruptibly(queue));
          completed.assertCompletionExpected();
          assertTrue(queue.isEmpty());
        }
    
        private static void scheduleEnableReads(BlockingQueue<String> queue, long countdownInMillis) {
          Runnable toRun = new EnableReads(queue, countdownInMillis);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       * | `http://a%20b:c%20d@host/`       | `"a%20b"`           |
       */
      @get:JvmName("encodedUsername")
      val encodedUsername: String
        get() {
          if (username.isEmpty()) return ""
          val usernameStart = scheme.length + 3 // "://".length() == 3.
          val usernameEnd = url.delimiterOffset(":@", usernameStart, url.length)
          return url.substring(usernameStart, usernameEnd)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterables.java

       *
       * @return {@code true} if the iterable contains no elements
       */
      public static boolean isEmpty(Iterable<?> iterable) {
        if (iterable instanceof Collection) {
          return ((Collection<?>) iterable).isEmpty();
        }
        return !iterable.iterator().hasNext();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            if (body.documents == null) {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is required."));
            }
            if (body.documents.isEmpty()) {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is empty."));
            }
            final String indexFieldId = fessConfig.getIndexFieldId();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top