Skip to content

Commit

Permalink
Update Checkstyle DTD version from 1.0 to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 5, 2024
1 parent 56c9106 commit 4d40c03
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/conf/checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,18 @@
See the License for the specific language governing permissions and
limitations under the License.
-->

<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.0//EN"
"https://checkstyle.org/dtds/suppressions_1_0.dtd">

"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- Suppress switch fallthrough / default case for class Flat3Map -->
<suppress checks="FallThrough" files="Flat3Map.java" />
<suppress checks="MissingSwitchDefault" files="Flat3Map.java" />

<!-- Ignore missing javadoc for Get/Put interfaces, they refer to java.util.Map -->
<suppress checks="JavadocMethod" files="Get.java" />
<suppress checks="JavadocMethod" files="Put.java" />

<!-- Ignore missing javadoc param for unsupported method -->
<suppress checks="JavadocMethod" files="FilterListIterator.java" lines="116,166" />

<!-- Be more lenient on tests. -->
<suppress checks="Javadoc" files=".*[/\\]test[/\\].*" />
<suppress checks="MultipleStringLiterals" files=".*[/\\]test[/\\].*" />
Expand Down

0 comments on commit 4d40c03

Please sign in to comment.