Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 945 for useEmpty (0.3 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

        }
    
        @Override
        public void accept(PluginDescriptor pluginDescriptor) {
            String requiredJavaVersion = pluginDescriptor.getRequiredJavaVersion();
            if (requiredJavaVersion != null && !requiredJavaVersion.isEmpty()) {
                String currentJavaVersion = System.getProperty("java.version");
                if (!matchesVersion(requiredJavaVersion, currentJavaVersion)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertTrue(FluentIterable.<String>from(Collections.<String>emptyList()).isEmpty());
        assertFalse(FluentIterable.<String>from(Lists.newArrayList("foo")).isEmpty());
      }
    
      public void testToList() {
        assertEquals(Lists.newArrayList(1, 2, 3, 4), fluent(1, 2, 3, 4).toList());
      }
    
      public void testToList_empty() {
        assertTrue(fluent().toList().isEmpty());
      }
    
      public void testToSortedList_withComparator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

            return !isEmpty(collection);
        }
    
        /**
         * Returns {@literal true} if the given {@link Map} is {@literal null} or empty.
         *
         * @param map the map
         * @return {@literal true} if the map is {@literal null} or empty
         */
        public static boolean isEmpty(final Map<?, ?> map) {
            return map == null || map.isEmpty();
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/layout/FlatRepositoryLayout.java

                path.append(ARTIFACT_SEPARATOR).append(artifact.getClassifier());
            }
    
            if (artifactHandler.getExtension() != null
                    && !artifactHandler.getExtension().isEmpty()) {
                path.append(GROUP_SEPARATOR).append(artifactHandler.getExtension());
            }
    
            return path.toString();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

        @Deprecated
        public Map<String, String> getPhases() {
            Map<String, LifecyclePhase> lphases = getLifecyclePhases();
            if (lphases == null) {
                return null;
            }
    
            if (lphases.isEmpty()) {
                return Collections.emptyMap();
            }
    
            Map<String, String> phases = new LinkedHashMap<>();
            for (Map.Entry<String, LifecyclePhase> e : lphases.entrySet()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                        final Tuple3<String, String, String> task = thumbnailTaskQueue.poll(thumbnailTaskQueueTimeout, TimeUnit.MILLISECONDS);
                        if (task == null) {
                            if (!taskList.isEmpty()) {
                                storeQueue(taskList);
                            }
                        } else if (!taskList.contains(task)) {
                            taskList.add(task);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        assertFalse(multimap.containsValue(1));
        assertFalse(multimap.containsEntry("foo", 1));
        assertTrue(multimap.entries().isEmpty());
        assertTrue(multimap.equals(ArrayListMultimap.create()));
        assertEquals(emptyList(), multimap.get("foo"));
        assertEquals(0, multimap.hashCode());
        assertTrue(multimap.isEmpty());
        assertEquals(HashMultiset.create(), multimap.keys());
        assertEquals(emptySet(), multimap.keySet());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
       * Removes all of the mappings from this map. The map will be empty after this call returns.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top