Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isChildOfRootNode (0.18 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            // provide defaults to children, but should override transitives).
            // We can do this by calling isChildOfRootNode on the current node.
            if ((artifact.getVersion() != null)
                    && (!node.isChildOfRootNode() || node.getArtifact().getVersion() == null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_VERSION, listeners, node, artifact);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

        }
    
        /**
         * Test whether the node is direct or transitive dependency.
         *
         * @return whether the node is direct or transitive dependency
         */
        public boolean isChildOfRootNode() {
            return parent != null && parent.parent == null;
        }
    
        public Iterator<ResolutionNode> getChildrenIterator() {
            return children.iterator();
        }
    
        public int getDepth() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top