| <!-- |
| |
| Copyright (c) 2013, 2022 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Distribution License v. 1.0, which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
| |
| --> |
| |
| <FindBugsFilter> |
| |
| <!-- |
| TODO: reevaluate for MR |
| As designed, impossible to change, maybe with MR. |
| --> |
| <Match> |
| <Bug pattern="EI_EXPOSE_REP"/> |
| <Or> |
| <Class name="~.*\.*Exception"/> |
| <Class name="~.*\.W3CDomHandler"/> |
| <Class name="~.*\.ValidationEventImpl"/> |
| <Class name="~.*\.ValidationEventLocatorImpl"/> |
| </Or> |
| </Match> |
| |
| <!-- |
| TODO: reevaluate for MR |
| As designed, impossible to change, maybe with MR. |
| --> |
| <Match> |
| <Bug pattern="EI_EXPOSE_REP2"/> |
| <Or> |
| <Class name="~.*\.*Exception"/> |
| <Class name="~.*\.W3CDomHandler"/> |
| <Class name="~.*\.ValidationEventImpl"/> |
| <Class name="~.*\.ValidationEventLocatorImpl"/> |
| <Class name="jakarta.xml.bind.util.JAXBSource"/> |
| </Or> |
| </Match> |
| |
| <!-- |
| As designed. |
| --> |
| <Match> |
| <Class name="jakarta.xml.bind.util.JAXBSource$1"/> |
| <Bug pattern="XFB_XML_FACTORY_BYPASS"/> |
| </Match> |
| |
| <!-- |
| TODO: reevaluate for MR |
| As designed, impossible to change, maybe with MR? |
| --> |
| <Match> |
| <Class name="jakarta.xml.bind.annotation.adapters.HexBinaryAdapter"/> |
| <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/> |
| </Match> |
| |
| </FindBugsFilter> |