|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + ~ Copyright (c) 2025, WSO2 Inc. (http://www.wso2.org). |
| 4 | + ~ |
| 5 | + ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + ~ you may not use this file except in compliance with the License. |
| 7 | + ~ You may obtain a copy of the License at |
| 8 | + ~ |
| 9 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | + ~ |
| 11 | + ~ Unless required by applicable law or agreed to in writing, software |
| 12 | + ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + ~ See the License for the specific language governing permissions and |
| 15 | + ~ limitations under the License. |
| 16 | + --> |
| 17 | +<FindBugsFilter> |
| 18 | + <!-- |
| 19 | + There seems to be a bug in findbug, unable to read some bytecodes generated by java 11 |
| 20 | + properly, when try-with-resource pattern is used. This fails the following classes. |
| 21 | + Please remove this exclusion when findbug plugin us updated from |
| 22 | + org.codehaus.mojo:findbugs-maven-plugin-3.0.5 to a newer one which has the fix for the issue. |
| 23 | + references, |
| 24 | + https://github.com/spotbugs/spotbugs/issues/756 |
| 25 | + --> |
| 26 | + <Match> |
| 27 | + <Class name="org.wso2.carbon.identity.role.mgt.core.dao.GroupDAOImpl" /> |
| 28 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/> |
| 29 | + </Match> |
| 30 | + <Match> |
| 31 | + <Class name="org.wso2.carbon.identity.role.mgt.core.dao.RoleDAOImpl" /> |
| 32 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/> |
| 33 | + </Match> |
| 34 | + <Match> |
| 35 | + <Class name="org.wso2.carbon.identity.role.v2.mgt.core.dao.GroupDAOImpl" /> |
| 36 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/> |
| 37 | + </Match> |
| 38 | + <Match> |
| 39 | + <Class name="org.wso2.carbon.identity.role.v2.mgt.core.dao.RoleDAOImpl" /> |
| 40 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/> |
| 41 | + </Match> |
| 42 | + <Match> |
| 43 | + <Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2,MS_EXPOSE_REP"/> |
| 44 | + </Match> |
| 45 | + <Match> |
| 46 | + <Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED"/> |
| 47 | + </Match> |
| 48 | +</FindBugsFilter> |
0 commit comments