Update Checkstyle DTD version from 1.0 to 1.2

This commit is contained in:
Gary Gregory 2024-05-05 14:43:28 -04:00
parent 56c91067ec
commit 4d40c035ab
1 changed files with 2 additions and 7 deletions

View File

@ -15,23 +15,18 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<!DOCTYPE suppressions PUBLIC <!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.0//EN" "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_0.dtd"> "https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions> <suppressions>
<!-- Suppress switch fallthrough / default case for class Flat3Map --> <!-- Suppress switch fallthrough / default case for class Flat3Map -->
<suppress checks="FallThrough" files="Flat3Map.java" /> <suppress checks="FallThrough" files="Flat3Map.java" />
<suppress checks="MissingSwitchDefault" files="Flat3Map.java" /> <suppress checks="MissingSwitchDefault" files="Flat3Map.java" />
<!-- Ignore missing javadoc for Get/Put interfaces, they refer to java.util.Map --> <!-- Ignore missing javadoc for Get/Put interfaces, they refer to java.util.Map -->
<suppress checks="JavadocMethod" files="Get.java" /> <suppress checks="JavadocMethod" files="Get.java" />
<suppress checks="JavadocMethod" files="Put.java" /> <suppress checks="JavadocMethod" files="Put.java" />
<!-- Ignore missing javadoc param for unsupported method --> <!-- Ignore missing javadoc param for unsupported method -->
<suppress checks="JavadocMethod" files="FilterListIterator.java" lines="116,166" /> <suppress checks="JavadocMethod" files="FilterListIterator.java" lines="116,166" />
<!-- Be more lenient on tests. --> <!-- Be more lenient on tests. -->
<suppress checks="Javadoc" files=".*[/\\]test[/\\].*" /> <suppress checks="Javadoc" files=".*[/\\]test[/\\].*" />
<suppress checks="MultipleStringLiterals" files=".*[/\\]test[/\\].*" /> <suppress checks="MultipleStringLiterals" files=".*[/\\]test[/\\].*" />