leventov commented on a change in pull request #8059: Refactoring to use
`CollectionUtils.mapValues`
URL: https://github.com/apache/incubator-druid/pull/8059#discussion_r303460815
##########
File path: core/src/main/java/org/apache/druid/utils/CollectionUtils.java
##########
@@ -88,12 +89,22 @@ public int size()
/**
* Returns a transformed map from the given input map where the key is
modified based on the given keyMapper
- * function.
+ * function. This method fails if keys collide after applying the given
keyMapper function and
+ * throws a IllegalStateException.
+ *
+ * @throws ISE if key collisions occur while applying specified keyMapper
*/
+
Review comment:
Extra line
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]