* 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"/> <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>

View File

@ -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;