Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 738 for isEmpty (0.04 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertFalse(listener.stoppedCalled);
        assertTrue(listener.failedServices.isEmpty());
        manager.stopAsync().awaitStopped();
        assertState(manager, Service.State.TERMINATED, a, b);
        assertFalse(manager.isHealthy());
        assertTrue(listener.stoppedCalled);
        assertTrue(listener.failedServices.isEmpty());
      }
    
      public void testFailStart() throws Exception {
        Service a = new NoOpService();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            for (Plugin plugin : plugins) {
                if (plugin.getGroupId() == null
                        || (plugin.getGroupId() != null
                                && plugin.getGroupId().trim().isEmpty())) {
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.V20,
                            prefix + prefix2 + "(groupId:artifactId)",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).isEmpty();
    
        // add 0, 1, 2, 3, 4
        getAll(cache, asList(0, 1, 2, 3, 4));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4);
    
        // invalidate all
        cache.invalidateAll();
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).isEmpty();
    
        // add 5, 6, 7, 8, 9, 10, 11, 12
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(TypeToken.of(Types.supertypeOf(String[].class)).getGenericInterfaces()).isEmpty();
      }
    
      public void testGetGenericInterfaces_wildcard_boundIsClass() {
        assertThat(TypeToken.of(Types.subtypeOf(Object.class)).getGenericInterfaces()).isEmpty();
        assertThat(TypeToken.of(Types.subtypeOf(Object[].class)).getGenericInterfaces()).isEmpty();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         * {@link ReflectionValueExtractor} class.</p>
         */
        @Override
        public Object getValue(String expression) {
            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable K higherKey(K key) {
        return delegate.higherKey(checkValid(key));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public NavigableSet<K> keySet() {
        return navigableKeySet();
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

            ongoing.remove(new TransferResourceIdentifier(event.getResource()));
            put(event, ongoing.isEmpty());
        }
    
        @Override
        public void transferFailed(TransferEvent event) {
            ongoing.remove(new TransferResourceIdentifier(event.getResource()));
            put(event, ongoing.isEmpty());
        }
    
        private static class Exchange {
            private final TransferEvent event;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
      static void assertEmpty(Multimap<?, ?> multimap) {
        if (!multimap.isEmpty()) {
          fail("Not true that " + multimap + " is empty");
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jun 23 04:28:13 GMT 2015
    - 1.1K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 05 16:58:52 GMT 2025
    - 28.7K bytes
    - Click Count (1)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

                    try {
                        closeable.close();
                    } catch (Exception e) {
                        exceptions.add(e);
                    }
                }
            }
            if (!exceptions.isEmpty()) {
                IllegalStateException ex = new IllegalStateException("Could not close commandRegistries");
                exceptions.forEach(ex::addSuppressed);
                throw ex;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top