Pankraz76 commented on code in PR #2277:
URL: https://github.com/apache/maven/pull/2277#discussion_r2071983187


##########
impl/maven-impl/src/main/java/org/apache/maven/impl/AbstractSession.java:
##########
@@ -337,7 +335,7 @@ public LocalRepository getLocalRepository() {
     @Nonnull
     @Override
     public Session withLocalRepository(@Nonnull LocalRepository 
localRepository) {
-        nonNull(localRepository, "localRepository");
+        Objects.requireNonNull(localRepository, "localRepository cannot be 
null");

Review Comment:
   this is lots of work:
   
   https://github.com/apache/maven/pull/2290



-- 
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-unsubscr...@maven.apache.org

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

Reply via email to