mirror of https://github.com/apache/druid.git
InterruptedException is never thrown (#7963)
And therefore the block will always be false
This commit is contained in:
parent
10d6b0318d
commit
fba91b77d0
|
@ -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"/>
|
||||||
|
|
|
@ -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();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue