You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "elharo (via GitHub)" <gi...@apache.org> on 2026/07/04 14:21:24 UTC

[PR] fix: make DependencyInfo.hashCode() consistent with equals() [maven-war-plugin]

elharo opened a new pull request, #623:
URL: https://github.com/apache/maven-war-plugin/pull/623

   Fixes #620
   
   `equals()` compares only the `dependency` field, but `hashCode()` incorrectly incorporated both `dependency` and `targetFileName`, violating the equals/hashCode contract and causing incorrect behavior in hash-based collections.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: make DependencyInfo.hashCode() consistent with equals() [maven-war-plugin]

Posted by "elharo (via GitHub)" <gi...@apache.org>.
elharo closed pull request #623: fix: make DependencyInfo.hashCode() consistent with equals()
URL: https://github.com/apache/maven-war-plugin/pull/623


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org