Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 945 for useEmpty (0.07 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

            configuration.addChild(reportPlugins);
    
            boolean hasMavenProjectInfoReportsPlugin = false;
    
            /* waiting for MSITE-484 before deprecating <reporting> section
            if ( !reporting.getPlugins().isEmpty()
                && request.getValidationLevel() >= ModelBuildingRequest.VALIDATION_LEVEL_MAVEN_3_1 )
            {
    
                problems.add( new ModelProblemCollectorRequest( Severity.WARNING, Version.V31 )
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    sb.append(LS);
                    sb.append("from the specified remote repositories:");
                    sb.append(LS).append("  ");
    
                    if (remoteRepositories.isEmpty()) {
                        sb.append("(none)");
                    }
    
                    for (Iterator<ArtifactRepository> i = remoteRepositories.iterator(); i.hasNext(); ) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 01 21:22:14 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    
      @Override
      public @Nullable Entry<E> firstEntry() {
        return isEmpty() ? null : getEntry(0);
      }
    
      @Override
      public @Nullable Entry<E> lastEntry() {
        return isEmpty() ? null : getEntry(length - 1);
      }
    
      @Override
      public int count(@Nullable Object element) {
        int index = elementSet.indexOf(element);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return singletonMap(key, value).entrySet().iterator().next();
      }
    
      private static boolean isEmpty(Iterable<?> iterable) {
        return iterable instanceof Collection
            ? ((Collection<?>) iterable).isEmpty()
            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            if (repo != null) {
                String id = repo.getId();
    
                if (id == null || id.isEmpty()) {
                    throw new InvalidRepositoryException("Repository identifier missing", "");
                }
    
                String url = repo.getUrl();
    
                if (url == null || url.isEmpty()) {
                    throw new InvalidRepositoryException("URL missing for repository " + id, id);
                }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            q.add(element);
          } else {
            assertEqualsUsingSeed(seed, control.poll(), q.pollFirst());
          }
        }
        while (!control.isEmpty()) {
          assertEqualsUsingSeed(seed, control.poll(), q.pollFirst());
        }
        assertTrue(q.isEmpty());
      }
    
      public void testExhaustive_pollAndPush() {
        int size = 5;
        List<Integer> expected = createOrderedList(size);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        assertThat(a.eventSequence).isEmpty()
        assertThat(b.takeEvent()).isInstanceOf<CallStart>()
        assertThat(b.eventSequence).isEmpty()
        assertThat(c.takeEvent()).isInstanceOf<CallStart>()
        assertThat(c.eventSequence).isEmpty()
        assertThat(d.takeEvent()).isInstanceOf<CallStart>()
        assertThat(d.eventSequence).isEmpty()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        Collection<V> valueCollection = map.values();
        Set<Entry<K, V>> entrySet = map.entrySet();
    
        assertEquals(map.size() == 0, map.isEmpty());
        assertEquals(map.size(), keySet.size());
        assertEquals(keySet.size() == 0, keySet.isEmpty());
        assertEquals(!keySet.isEmpty(), keySet.iterator().hasNext());
    
        int expectedKeySetHash = 0;
        for (K key : keySet) {
          V value = map.get(key);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

            rangeMap.put(range1, 1);
            rangeMap.put(range2, 2);
    
            Range<Integer> expected;
            if (range1.isEmpty()) {
              if (range2.isEmpty()) {
                expected = null;
              } else {
                expected = range2;
              }
            } else {
              if (range2.isEmpty()) {
                expected = range1;
              } else {
                expected = range1.span(range2);
              }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

                    w = addToStringField(sb, prefix, o -> !o.isEmpty(), "prefix", w);
                    w = addToStringField(sb, namespaceUri, o -> !o.isEmpty(), "namespaceUri", w);
                    w = addToStringField(sb, name, o -> !o.isEmpty(), "name", w);
                    w = addToStringField(sb, value, o -> !o.isEmpty(), "value", w);
                    w = addToStringField(sb, attributes, o -> !o.isEmpty(), "attributes", w);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top