2009-03-04 11:33:09 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2011-12-09 06:18:34 +01:00
|
|
|
<!--
|
2012-06-04 22:31:44 +02:00
|
|
|
~ Copyright 2012 The Netty Project
|
2011-12-09 06:18:34 +01:00
|
|
|
~
|
|
|
|
~ The Netty Project licenses this file to you under the Apache License,
|
|
|
|
~ version 2.0 (the "License"); you may not use this file except in compliance
|
|
|
|
~ with the License. You may obtain a copy of the License at:
|
|
|
|
~
|
2012-06-04 22:31:44 +02:00
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
2011-12-09 06:18:34 +01:00
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
|
|
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
~ License for the specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
2009-03-04 11:33:09 +01:00
|
|
|
<FindBugsFilter>
|
|
|
|
<!-- Tests -->
|
|
|
|
<Match>
|
|
|
|
<Class name="~.*Test(\$[^\$]+)*"/>
|
|
|
|
</Match>
|
|
|
|
<!-- Generated code -->
|
|
|
|
<Match>
|
|
|
|
<Class name="~.*\.LocalTimeProtocol(\$[^\$]+)*"/>
|
|
|
|
</Match>
|
|
|
|
<!-- Noise -->
|
|
|
|
<Match>
|
|
|
|
<Bug code="Co,SF"
|
|
|
|
category="I18N"
|
|
|
|
pattern="REC_CATCH_EXCEPTION,UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR,DB_DUPLICATE_SWITCH_CLAUSES,VO_VOLATILE_REFERENCE_TO_ARRAY" />
|
|
|
|
</Match>
|
|
|
|
<!-- Known false positives -->
|
|
|
|
<Match>
|
|
|
|
<Class name="~.*Channel(Group)?Future"/>
|
|
|
|
<Method name="~await.*"/>
|
|
|
|
<Bug pattern="PS_PUBLIC_SEMAPHORES"/>
|
|
|
|
</Match>
|
|
|
|
<Match>
|
|
|
|
<Class name="~.*SelectorLoop"/>
|
|
|
|
<Method name="run"/>
|
|
|
|
<Bug code="ESync"/>
|
|
|
|
</Match>
|
2009-03-04 11:54:55 +01:00
|
|
|
<Match>
|
|
|
|
<Class name="~.*Channel"/>
|
|
|
|
<Or>
|
|
|
|
<Method name="setClosed"/>
|
|
|
|
<Method name="setInterestOpsNow"/>
|
|
|
|
</Or>
|
|
|
|
<Bug pattern="USM_USELESS_SUBCLASS_METHOD"/>
|
|
|
|
</Match>
|
2009-03-12 08:27:51 +01:00
|
|
|
<Match>
|
|
|
|
<Class name="~.*HttpTunnelingChannelHandler"/>
|
|
|
|
<Method name="~await.*"/>
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE,RV_RETURN_VALUE_IGNORED2"/>
|
|
|
|
</Match>
|
2009-03-04 11:33:09 +01:00
|
|
|
<!-- Known issues that don't matter -->
|
|
|
|
<Match>
|
|
|
|
<Or>
|
2009-04-16 01:46:33 +02:00
|
|
|
<Class name="~.*\.util\.internal\.Concurrent[A-Za-z]*HashMap(\$[^\$]+)*"/>
|
|
|
|
<Class name="~.*\.util\.internal\..*TransferQueue(\$[^\$]+)*"/>
|
|
|
|
<Class name="~.*\.util\.internal\.MapBackedSet"/>
|
2009-03-04 11:33:09 +01:00
|
|
|
</Or>
|
|
|
|
<Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED,SE_BAD_FIELD"/>
|
|
|
|
</Match>
|
|
|
|
</FindBugsFilter>
|