You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2025/06/25 12:43:17 UTC

(maven-resolver) 01/01: Add clue that this is intentional

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch refine-performance
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git

commit 603fe367d9746bf5a27883122ad360600adfec0a
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Wed Jun 25 14:42:33 2025 +0200

    Add clue that this is intentional
---
 .../eclipse/aether/util/graph/manager/AbstractDependencyManager.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/maven-resolver-util/src/main/java/org/eclipse/aether/util/graph/manager/AbstractDependencyManager.java b/maven-resolver-util/src/main/java/org/eclipse/aether/util/graph/manager/AbstractDependencyManager.java
index e5610017..9996eb6a 100644
--- a/maven-resolver-util/src/main/java/org/eclipse/aether/util/graph/manager/AbstractDependencyManager.java
+++ b/maven-resolver-util/src/main/java/org/eclipse/aether/util/graph/manager/AbstractDependencyManager.java
@@ -51,6 +51,9 @@ import static java.util.Objects.requireNonNull;
  * or applied in same POM) are always applied. This implementation makes sure, that version and scope are not applied
  * onto same node that actually provided the rules, to no override work that ModelBuilder did. It achieves this goal
  * by tracking "depth" for each collected rule and ignoring rules coming from same depth as processed dependency node is.
+ * <p>
+ * Note for future: the field {@code managedLocalPaths} is <em>intentionally left out of hash/equals</em>, with
+ * reason explained above.
  *
  * @since 2.0.0
  */