| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF 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 |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ 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. |
| --> |
| |
| <FindBugsFilter> |
| <Match> |
| <Bug pattern="DM_EXIT,DMI_EMPTY_DB_PASSWORD,DMI_HARDCODED_ABSOLUTE_FILENAME,EI_EXPOSE_REP,EI_EXPOSE_REP2,SF_SWITCH_FALLTHROUGH,NM_CONFUSING"/> |
| </Match> |
| <!-- low priority issues--> |
| <Match> |
| <Bug pattern="DM_CONVERT_CASE,SE_TRANSIENT_FIELD_NOT_RESTORED,UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR,BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/> |
| </Match> |
| <Match> |
| <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS,DB_DUPLICATE_SWITCH_CLAUSES,BC_UNCONFIRMED_CAST"/> |
| </Match> |
| |
| <!-- wildcard suppression --> |
| <Match> |
| <Class name="~ai\.djl\.mxnet\.jnarator\.parser\..*"/> |
| </Match> |
| <!-- function suppression --> |
| <Match> |
| <Bug pattern="DC_DOUBLECHECK"/> |
| <Class name="~ai\.djl\.mxnet\.engine\.MxSymbolBlock"/> |
| <Method name="forwardInternal"/> |
| </Match> |
| <Match> |
| <Bug pattern="DC_DOUBLECHECK"/> |
| <Class name="~ai\.djl\.pytorch\.engine\.PtSymbolBlock"/> |
| <Method name="forwardInternal"/> |
| </Match> |
| <Match> |
| <Bug pattern="URF_UNREAD_FIELD"/> |
| <Class name="~ai\.djl\.pytorch\.engine\.PtNDArray"/> |
| </Match> |
| </FindBugsFilter> |