risdenk commented on PR #1127:
URL: https://github.com/apache/solr/pull/1127#issuecomment-1292362469

   @stillalex maybe I'm old school, but I think the method looks better written 
without streams:
   
   ```
   public static Map<String, List<String>> 
convertMapOfCommaDelimitedToMapOfList(
         Map<String, String> collectionAliasMap) {
       Map<String, List<String>> map = new LinkedHashMap<>();
       for (Map.Entry<String, String> entry : collectionAliasMap.entrySet()) {
         map.put(entry.getKey(), splitCollections(entry.getValue()));
       }
       return map;
     }
   ```
   
   assuming I converted that back correctly.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to