acrites commented on PR #40750:
URL: https://github.com/apache/beam/pull/40750#issuecomment-6423732926

   I wonder if the confusion was because Java's `Map.putIfAbsent`, *does* 
return null if the element wasn't already in the map.
   
   ```
   default V putIfAbsent(K key, V value)
   
   If the specified key is not already associated with a value (or is mapped to 
null) associates it with the given value and returns null, else returns the 
current 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: [email protected]

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

Reply via email to