You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can clearly see in Sonar Bug report that there are lots of places in code where we're not handling InterruptedException properly. We're simply doing multi-catch and ignoring InterruptedException . For example, take a look at this code block:
Usually, when a thread is interrupted, whoever is interrupting the thread, wants the thread to exit what it's currently doing. I think we should refactor all these places like this:
We can clearly see in Sonar Bug report that there are lots of places in code where we're not handling
InterruptedException
properly. We're simply doing multi-catch and ignoringInterruptedException
. For example, take a look at this code block:kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/base/BaseOperation.java
Lines 160 to 174 in e8c47dc
Usually, when a thread is interrupted, whoever is interrupting the thread, wants the thread to exit what it's currently doing. I think we should refactor all these places like this:
The text was updated successfully, but these errors were encountered: