Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,076 for removeAt (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelper.java

                    .filter(Optional::isPresent)
                    .map(Optional::get)
                    .collect(Collectors.toCollection(ArrayList::new));
    
            if (result.size() > 1) {
                // remove generic
                result.removeIf(c -> GenericCIDetector.NAME.equals(c.name()));
            }
            return result;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertTrue(
            removeIf(
                list,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            removeIf(
                list,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // Verify correct behavior for external parent:
                // - groupId should NOT be removed (external parents need groupId to be located)
                // - artifactId should NOT be removed (external parents need artifactId to be located)
                // - version should NOT be removed (external parents need version to be located)
                // This prevents the "parent.groupId is missing" error reported in issue #7934
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  4. internal/event/targetlist.go

    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    func (list *TargetList) Remove(targetIDSet TargetIDSet) {
    	list.Lock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Delegates to {@link Collection#remove}. Returns {@code false} if the {@code remove} method
       * throws a {@code ClassCastException} or {@code NullPointerException}.
       */
      static boolean safeRemove(Collection<?> collection, @Nullable Object object) {
        checkNotNull(collection);
        try {
          return collection.remove(object);
        } catch (ClassCastException | NullPointerException e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. cmd/metacache-bucket.go

    	b.updated = true
    	b.debugf("returning new cache %s, bucket: %v", best.id, best.bucket)
    	return best
    }
    
    // cleanup removes redundant and outdated entries.
    func (b *bucketMetacache) cleanup() {
    	// Entries to remove.
    	remove := make(map[string]struct{})
    
    	// Test on a copy
    	// cleanup is the only one deleting caches.
    	caches, _ := b.cloneCaches()
    
    	for id, cache := range caches {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
        private static MavenProperties loadPropertiesFile(Path path, boolean failIfNotFound, UnaryOperator<String> callback)
                throws IOException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                    .filter(dependency -> {
                        String key = createDependencyKey(dependency);
                        if (seenDependencies.containsKey(key)) {
                            context.detail("Fixed: Removed duplicate dependency: " + key + " in " + sectionName);
                            return true; // This is a duplicate
                        } else {
                            seenDependencies.put(key, dependency);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                UpgradeResult result = strategy.doApply(context, pomMap);
    
                assertTrue(result.success(), "Compatibility fix should succeed");
                assertTrue(result.modifiedCount() > 0, "Should have removed duplicate dependency");
    
                // Verify only one dependency remains
                Editor editor = new Editor(document);
                Element root = editor.root();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.11.md

    * Alpha annotation for PersistentVolume node affinity has been removed.  Update your PersistentVolumes to use the beta PersistentVolume.nodeAffinity field before upgrading to this release. ([#61816](https://github.com/kubernetes/kubernetes/pull/61816), [@wackxu
    ](https://github.com/wackxu))
    
    #### Removed Deprecations
    
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
Back to Top