leventov commented on a change in pull request #8059: Refactoring to use 
`CollectionUtils.mapValues`
URL: https://github.com/apache/incubator-druid/pull/8059#discussion_r303093312
 
 

 ##########
 File path: .idea/inspectionProfiles/Druid.xml
 ##########
 @@ -311,6 +311,17 @@
         <constraint name="k" within="" contains="" />
         <constraint name="v" within="" contains="" />
       </searchConfiguration>
+      <searchConfiguration name="Use CollectionUtils.mapValues(Map&lt;K,V&gt;, 
Function&lt;V,V2&gt;)" 
text="$x$.entrySet().stream().collect(Collectors.toMap($k$ -&gt; $k$.getKey(), 
$y$))" recursive="true" caseInsensitive="true" type="JAVA">
+        <constraint name="x" within="" contains="" />
+        <constraint name="y" within="" contains="" />
+        <constraint name="k" within="" contains="" />
+        <constraint name="__context__" target="true" within="" contains="" />
+      </searchConfiguration>
+      <searchConfiguration name="Use CollectionUtils.mapValues(Map&lt;k,v&gt;, 
Function&lt;v,v2&gt;)" 
text="$x$.entrySet().stream().collect(Collectors.toMap(Entry::getKey, $y$))" 
recursive="true" caseInsensitive="true" type="JAVA">
 
 Review comment:
   Please add patterns for `mapKeys()`

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

Reply via email to