Skip to content

Commit 31fb09c

Browse files
jfblaaclaude
andcommitted
docs(manifest): shorten the classpath-instance comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d673843 commit 31fb09c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/commands/manifest/scripts/maven-extension/src/main/java/tech/coana/socket/SocketFactsRecordsEngine.java‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,10 +776,8 @@ private static boolean isDirectChild(DependencyNode root, Artifact artifact) {
776776
return false;
777777
}
778778

779-
// The collector caches a parent's child list and hands that same list to every later instance with
780-
// the same artifact and collection context (repositories, exclusions, management), so a failing
781-
// collect step runs under the first instance only, which may have lost a conflict. Any classpath
782-
// instance sharing the list places it.
779+
// Instances with the same artifact and collection context share one cached child list, whose failing
780+
// collect step ran only under the first of them; that one may have lost a conflict.
783781
private static DependencyNode classpathInstance(Set<DependencyNode> onClasspath, DependencyNode parent) {
784782
if (onClasspath.contains(parent)) return parent;
785783
for (DependencyNode dn : onClasspath) {

0 commit comments

Comments
 (0)