Skip to content

Commit

Permalink
Add JavadocPackageCheck to checkstyle config
Browse files Browse the repository at this point in the history
* Add missing `package-info.java`
* Update `checkstyle-suppresion.xml`

See spring-projectsgh-31123
  • Loading branch information
eddumelendez committed May 21, 2022
1 parent 06679a4 commit 8e9ecf2
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
@@ -0,0 +1,20 @@
/*
* Copyright 2012-2022 the original author or authors.
*
* Licensed 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
*
* https://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.
*/

/**
* Auto-configuration for Spring GraphQL metrics.
*/
package org.springframework.boot.actuate.autoconfigure.metrics.graphql;
@@ -0,0 +1,20 @@
/*
* Copyright 2012-2022 the original author or authors.
*
* Licensed 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
*
* https://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.
*/

/**
* Support classes for testing against OS.
*/
package org.springframework.boot.testsupport.junit;
6 changes: 6 additions & 0 deletions src/checkstyle/checkstyle-suppressions.xml
Expand Up @@ -60,4 +60,10 @@
<suppress files="DeprecatedReactiveElasticsearchRestClientProperties\.java" checks="SpringMethodVisibility" />
<suppress files="DevToolsR2dbcAutoConfigurationTests" checks="HideUtilityClassConstructor" />
<suppress files="AbstractLaunchScriptIntegrationTests" checks="IllegalImport" />
<suppress files="SpringBootVersion" checks="JavadocPackageCheck" />
<suppress files="[\\/]spring-boot-deployment-tests[\\/]" checks="JavadocPackageCheck" />
<suppress files="[\\/]spring-boot-smoke-tests[\\/]" checks="JavadocPackageCheck" />
<suppress files="[\\/]spring-boot-docs[\\/]" checks="JavadocPackageCheck" />
<suppress files="[\\/]spring-boot-system-tests[\\/]" checks="JavadocPackageCheck" />
<suppress files="[\\/]src[\\/]intTest[\\/]java[\\/]" checks="JavadocPackageCheck" />
</suppressions>
1 change: 1 addition & 0 deletions src/checkstyle/checkstyle.xml
Expand Up @@ -58,4 +58,5 @@
<property name="requireSinceTag" value="true" />
</module>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck"/>
</module>

0 comments on commit 8e9ecf2

Please sign in to comment.