michael-o commented on a change in pull request #112:
URL: https://github.com/apache/maven-resolver/pull/112#discussion_r654897946


##########
File path: 
maven-resolver-api/src/main/java/org/eclipse/aether/DefaultRepositorySystemSession.java
##########
@@ -841,6 +843,7 @@ public RemoteRepository getMirror( RemoteRepository 
repository )
 
         public Authentication getAuthentication( RemoteRepository repository )
         {
+            requireNonNull( repository, "repository cannot be null" );

Review comment:
       I believe that this is a bug, it should return null, your change is 
correct though.




-- 
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.

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


Reply via email to