SAY-5 opened a new pull request, #271:
URL: https://github.com/apache/maven-artifact-plugin/pull/271

   Closes #244
   
   `checkArtifact` compared with `actualLength.equals(referenceLength)` and 
`actualSha512.equals(referenceSha512)`, so a freshly generated buildinfo 
without a `.length` or `.checksums.sha512` entry failed with a 
NullPointerException instead of reporting the artifact as mismatched. Move the 
three checks into a small helper that uses `Objects.equals` and add a unit test 
for the missing length case.
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [ ] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to