You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by "pingpingy1 (via GitHub)" <gi...@apache.org> on 2024/02/14 07:26:43 UTC

[PR] Add null guard to MavenDownloadTask [karaf]

pingpingy1 opened a new pull request, #1825:
URL: https://github.com/apache/karaf/pull/1825

   `resolver` is a private property of the class `MavenDownloadTask` that has no corresponding setter method.
   As such, if `null` is provided as the `resolver` to the constructor, it cannot be changed elsewhere and is bound to throw a NullPointerException at a later time.
   For debugging purposes, however, a fail-fast guard is preferable, which this commit implements.


-- 
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: commits-unsubscribe@karaf.apache.org

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


Re: [PR] Add null guard to MavenDownloadTask [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre merged PR #1825:
URL: https://github.com/apache/karaf/pull/1825


-- 
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: commits-unsubscribe@karaf.apache.org

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