GitMehdi-sys opened a new issue, #2264:
URL: https://github.com/apache/stormcrawler/issues/2264

   SpotBugs reports `WMI_WRONG_MAP_ITERATOR` in two places, where the code
   iterates `keySet()` and then calls `get()` for each key:
   
   - `external/warc/.../WARCSpout.java` (`open()`, reading the HDFS config map)
   - `external/solr/.../bolt/IndexerBolt.java` (`execute()`, iterating metadata)
   
   Iterating `entrySet()` avoids the extra lookup per entry. The change has no
   behavior impact. Would you accept a small PR for this? Happy to do it.
   


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