gnodet commented on a change in pull request #125:
URL: https://github.com/apache/maven-resolver/pull/125#discussion_r723571888



##########
File path: 
maven-resolver-api/src/main/java/org/eclipse/aether/DefaultSessionData.java
##########
@@ -81,4 +82,8 @@ public Object get( Object key )
         return data.get( key );
     }
 
+    public Object computeIfAbsent( Object key, Function<Object, Object> 
mappingFunction )

Review comment:
       The `computeIfAbsent` method on the `Map` class is a function that 
receives the key and computes the value.




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