Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 288 for removeAt (0.04 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            // First apply limited inference (child elements) - this removes matching child groupId/version
            hasChanges |= trimParentElementLimited(context, root, parentElement);
    
            // Only remove parent elements if the parent is in the same reactor (not external)
            if (isParentInReactor(parentElement, pomMap, context)) {
                // Remove parent groupId if child has no explicit groupId
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     *   <li>Removes managed dependencies that are not used by direct dependencies</li>
     *   <li>Retains only managed dependencies that appear in the resolved dependency tree</li>
     * </ul>
     * <p>
     * <b>Repository and Profile Pruning</b>: The consumer POM removal strategy:
     * <ul>
     *   <li>Removes the central repository (only non-central repositories are kept)</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            @Override
            public boolean remove(Object o) {
                throw uoe();
            }
    
            @Override
            public boolean retainAll(Collection<?> c) {
                throw uoe();
            }
    
            @Override
            public void clear() {
                throw uoe();
            }
    
            @Override
            public boolean removeIf(Predicate<? super E> filter) {
                throw uoe();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. cmd/local-locker.go

    			if len(*lri) == 1 {
    				// Remove the write lock.
    				delete(l.lockMap, name)
    			} else {
    				// Remove the appropriate read lock.
    				*lri = append((*lri)[:index], (*lri)[index+1:]...)
    				l.lockMap[name] = *lri
    			}
    			delete(l.lockUID, formatUUID(args.UID, entry.idx))
    			return true
    		}
    	}
    
    	// None found return false, perhaps entry removed in previous run.
    	return false
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. doc/godebug.md

    This setting is available in Go 1.21.12, Go 1.22.5, Go 1.23, and later.
    There is no plan to remove this setting.
    
    ### Go 1.18
    
    Go 1.18 removed support for SHA1 in most X.509 certificates,
    controlled by the [`x509sha1` setting](/pkg/crypto/x509#InsecureAlgorithmError).
    This setting was removed in Go 1.24.
    
    ### Go 1.10
    
    Go 1.10 changed how build caching worked and added test caching, along
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  6. internal/lru/lru.go

    		}
    		return ent.Value, true
    	}
    	return
    }
    
    // Remove removes the provided key from the cache, returning if the
    // key was contained.
    func (c *LRU[K, V]) Remove(key K) bool {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if ent, ok := c.items[key]; ok {
    		c.removeElement(ent)
    		return true
    	}
    	return false
    }
    
    // RemoveOldest removes the oldest item from the cache.
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. 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)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *     </ul>
     *   </li>
     *   <li><strong>Managed Dependencies Cleanup</strong>: Removes managed dependencies pointing to project artifacts</li>
     *   <li><strong>Dependency Inference</strong>:
     *     <ul>
     *       <li>Removes dependency {@code <version>} when it points to a project artifact</li>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                    .resolve(Objects.requireNonNull(directory, "directory cannot be null"))
                    .normalize();
            sources.removeIf(source -> source.scope() == scope
                    && source.language() == language
                    && source.directory().equals(path));
        }
    
        /**
         * Removes a source root from the project.
         *
         * @param scope the scope of the source root
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  10. 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)
Back to Top