* Removed an unnecessary override in MemoryAwareThreadPoolExecutor

* Updated Find Bugs filter
This commit is contained in:
Trustin Lee 2009-03-04 10:54:55 +00:00
parent f04ca5b970
commit 4d95e233bc
2 changed files with 8 additions and 5 deletions

View File

@ -25,6 +25,14 @@
<Method name="run"/>
<Bug code="ESync"/>
</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 -->
<Match>
<Or>

View File

@ -339,11 +339,6 @@ public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor {
decreaseCounter(r);
}
@Override
protected void afterExecute(Runnable r, Throwable e) {
super.afterExecute(r, e);
}
protected boolean increaseCounter(Runnable task) {
if (!shouldCount(task)) {
return false;