<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2010, 2019 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

-->

<!-- FindBugs exclude list for Jakarta Activation -->

<FindBugsFilter>
    <!--
	We're purposely using the platform default encoding when reading
	these files.
    -->
    <Match>
	<Or>
	    <Class name="com.sun.activation.registries.MailcapFile"/>
	    <Class name="com.sun.activation.registries.MimeTypeFile"/>
	</Or>
	<Bug pattern="DM_DEFAULT_ENCODING"/>
    </Match>

    <!--
	We're purposely using the platform default encoding when writing
	a String to an OutputStream.
    -->
    <Match>
	<Class name="javax.activation.ObjectDataContentHandler"/>
	<Method name="writeTo"/>
	<Bug pattern="DM_DEFAULT_ENCODING"/>
    </Match>
</FindBugsFilter>
