Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 996 for useEmpty (0.12 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

        }
    
        private static ArtifactFilter createDependencyFilter(Dependency dependency, ArtifactFilter inheritedFilter) {
            ArtifactFilter effectiveFilter = inheritedFilter;
    
            if (!dependency.getExclusions().isEmpty()) {
                effectiveFilter = new ExclusionArtifactFilter(dependency.getExclusions());
    
                if (inheritedFilter != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return standardContainsAll(collection);
        }
    
        @Override
        public boolean isEmpty() {
          return standardIsEmpty();
        }
    
        @Override
        public Iterator<E> iterator() {
          return standardIterator();
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        registry.unregister(s1);
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.unregister(s2);
        assertTrue(registry.getSubscribersForTesting(String.class).isEmpty());
      }
    
      public void testUnregister_notRegistered() {
        assertThrows(IllegalArgumentException.class, () -> registry.unregister(new StringSubscriber()));
    
        StringSubscriber s1 = new StringSubscriber();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  4. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (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.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. 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.");
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 6K bytes
    - Click Count (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;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. 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++) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  10. 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();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top