Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <!-- |
| 2 | |
| 3 | Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved. |
| 4 | |
| 5 | This program and the accompanying materials are made available under the |
| 6 | terms of the Eclipse Public License v. 2.0, which is available at |
| 7 | http://www.eclipse.org/legal/epl-2.0. |
| 8 | |
| 9 | This Source Code may also be made available under the following Secondary |
| 10 | Licenses when the conditions for such availability set forth in the |
| 11 | Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| 12 | version 2 with the GNU Classpath Exception, which is available at |
| 13 | https://www.gnu.org/software/classpath/license.html. |
| 14 | |
| 15 | SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| 16 | |
| 17 | --> |
| 18 | |
| 19 | <FindBugsFilter> |
| 20 | <!-- |
| 21 | Shing Wai Chan claims that whichever thread is woken up will do |
| 22 | the requested work, so there's no need to wake up more than one |
| 23 | thread. |
| 24 | --> |
| 25 | <Match> |
| 26 | <Class name="org.apache.catalina.core.StandardWrapper"/> |
| 27 | <Method name="deallocate"/> |
| 28 | <Bug pattern="NO_NOTIFY_NOT_NOTIFYALL"/> |
| 29 | </Match> |
| 30 | |
| 31 | <!-- |
| 32 | A "." at the beginning of a package name is never legal and the |
| 33 | code handles that case. |
| 34 | --> |
| 35 | <Match> |
| 36 | <Class name="org.apache.tomcat.util.modeler.Registry"/> |
| 37 | <Method name="findDescriptor"/> |
| 38 | <Bug pattern="RV_CHECK_FOR_POSITIVE_INDEXOF"/> |
| 39 | </Match> |
| 40 | |
| 41 | <!-- |
| 42 | These methods correspond to HttpServletResponse methods. |
| 43 | --> |
| 44 | <Match> |
| 45 | <Class name="org.apache.catalina.connector.Response"/> |
| 46 | <Or> |
| 47 | <Method name="encodeRedirectURL"/> |
| 48 | <Method name="encodeURL"/> |
| 49 | </Or> |
| 50 | <Bug pattern="NM_CONFUSING"/> |
| 51 | </Match> |
| 52 | |
| 53 | <!-- |
| 54 | These private Comparator classes are never used with TreeSets |
| 55 | or TreeMaps and so don't need to be Serializable. |
| 56 | --> |
| 57 | <Match> |
| 58 | <Or> |
| 59 | <Class name="org.apache.catalina.servlets.DefaultServlet$LastModifiedComparator"/> |
| 60 | <Class name="org.apache.catalina.servlets.DefaultServlet$SizeComparator"/> |
| 61 | </Or> |
| 62 | <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE"/> |
| 63 | </Match> |
| 64 | </FindBugsFilter> |