Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for elemLen (0.07 sec)

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

                    .reduce(false, Boolean::logicalOr);
        }
    
        private static class BuildContainer {
            final Element element;
            final String sectionName;
    
            BuildContainer(Element element, String sectionName) {
                this.element = element;
                this.sectionName = sectionName;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            Element root = editor.root();
            if (root == null) {
                return;
            }
    
            // Convert modules element to subprojects
            Element modulesElement = root.child(MODULES).orElse(null);
            if (modulesElement != null) {
                // domtrip makes this much simpler - just change the element name
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element root = pomDocument.root();
    
            // Check if this POM has a parent
            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply full inference (parent element trimming based on relativePath)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

          }
        }
    
        /**
         * Adds {@code element} to the {@code ImmutableList}.
         *
         * @param element the element to add
         * @return this {@code Builder} object
         * @throws NullPointerException if {@code element} is null
         */
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          checkNotNull(element);
          ensureRoomFor(1);
          contents[size++] = element;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

            // Utility class
        }
    
        /**
         * Inserts a new child element to the given parent element with proper Maven POM ordering.
         *
         * @param name the name of the new element
         * @param parent the parent element
         * @return the new element
         *
         */
        public static Element insertNewElement(String name, Element parent) {
            PomEditor editor = new PomEditor(parent.document());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      // Query Operations
    
      /**
       * Returns the number of occurrences of {@code element} in this multiset.
       *
       * @param element the element to look for
       * @return the nonnegative number of occurrences of the element
       */
      @Override
      public int count(@Nullable Object element) {
        AtomicInteger existingCounter = safeGet(countMap, element);
        return (existingCounter == null) ? 0 : existingCounter.get();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Element moduleBRoot = moduleBDoc.root();
                Element build = moduleBRoot.child("build").orElse(null);
                Element plugins = build.child("plugins").orElse(null);
                Element plugin = plugins.child("plugin").orElse(null);
                Element dependencies = plugin.child("dependencies").orElse(null);
                Element dependency = dependencies.child("dependency").orElse(null);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        int entryIndex = backingMap.indexOf(element);
        if (entryIndex == -1) {
          backingMap.put(element, occurrences);
          size += occurrences;
          return 0;
        }
        int oldCount = backingMap.getValue(entryIndex);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 23:15:58 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            Document doc = Document.of(pomXml);
            Element root = doc.root();
    
            Element buildElement = DomUtils.findChildElement(root, "build");
            assertNotNull(buildElement, "Should find build element");
    
            Element pluginsElement = DomUtils.findChildElement(buildElement, "plugins");
            assertNotNull(pluginsElement, "Should find plugins element");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        }
    
        /**
         * Removes the model version element from a POM editor.
         * This is used during inference when the model version can be inferred.
         *
         * @param document the XML document
         * @return true if the element was removed, false if it didn't exist
         */
        public static boolean removeModelVersion(Document document) {
            Element root = document.root();
            if (root == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top