InterruptedException is never thrown (#7963)

And therefore the block will always be false
This commit is contained in:
Fokko Driesprong 2019-06-27 18:51:36 +02:00 committed by Nishant Bangarwa
parent 10d6b0318d
commit fba91b77d0
2 changed files with 0 additions and 4 deletions

View File

@ -29,7 +29,6 @@
--> -->
<FindBugsFilter> <FindBugsFilter>
<Bug pattern="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION"/> <Bug pattern="AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION"/>
<Bug pattern="BC_IMPOSSIBLE_INSTANCEOF"/>
<Bug pattern="BC_UNCONFIRMED_CAST"/> <Bug pattern="BC_UNCONFIRMED_CAST"/>
<Bug pattern="BIT_SIGNED_CHECK_HIGH_BIT"/> <Bug pattern="BIT_SIGNED_CHECK_HIGH_BIT"/>
<Bug pattern="BX_UNBOXING_IMMEDIATELY_REBOXED"/> <Bug pattern="BX_UNBOXING_IMMEDIATELY_REBOXED"/>

View File

@ -193,9 +193,6 @@ public class AmbariMetricsEmitter extends AbstractTimelineMetricsSink implements
} }
catch (Exception e) { catch (Exception e) {
log.error(e, e.getMessage()); log.error(e, e.getMessage());
if (e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
} }
} }