leventov commented on a change in pull request #6943: InterruptedExceptions 
should never be ignored in the code.
URL: https://github.com/apache/incubator-druid/pull/6943#discussion_r271493196
 
 

 ##########
 File path: 
core/src/main/java/org/apache/druid/java/util/http/client/pool/ResourcePool.java
 ##########
 @@ -186,7 +186,7 @@ V get()
             this.wait();
           }
           catch (InterruptedException e) {
-            Thread.interrupted();
 
 Review comment:
   Ok. Maybe you can achieve this with IntelliJ's structural search 
inspections: 
https://github.com/apache/incubator-druid/blob/78fd5aff21f692f583955a281e841b1e8fd6925f/ci/README_TeamCity.md#creating-a-custom-inspection-from-a-structural-search-pattern

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to