* Removed an unnecessary override in MemoryAwareThreadPoolExecutor
* Updated Find Bugs filter
This commit is contained in:
parent
f04ca5b970
commit
4d95e233bc
@ -25,6 +25,14 @@
|
|||||||
<Method name="run"/>
|
<Method name="run"/>
|
||||||
<Bug code="ESync"/>
|
<Bug code="ESync"/>
|
||||||
</Match>
|
</Match>
|
||||||
|
<Match>
|
||||||
|
<Class name="~.*Channel"/>
|
||||||
|
<Or>
|
||||||
|
<Method name="setClosed"/>
|
||||||
|
<Method name="setInterestOpsNow"/>
|
||||||
|
</Or>
|
||||||
|
<Bug pattern="USM_USELESS_SUBCLASS_METHOD"/>
|
||||||
|
</Match>
|
||||||
<!-- Known issues that don't matter -->
|
<!-- Known issues that don't matter -->
|
||||||
<Match>
|
<Match>
|
||||||
<Or>
|
<Or>
|
||||||
|
@ -339,11 +339,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
|
|||||||
decreaseCounter(r);
|
decreaseCounter(r);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void afterExecute(Runnable r, Throwable e) {
|
|
||||||
super.afterExecute(r, e);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected boolean increaseCounter(Runnable task) {
|
protected boolean increaseCounter(Runnable task) {
|
||||||
if (!shouldCount(task)) {
|
if (!shouldCount(task)) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user