-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Description Fix checkstyle. Now it works as expected. The problem is that chectyle works only with one config file. It does not support multiple files except per-defined files like `suppressions.xml`. So the previous config effectively replaced `sun_checks.xml` and validated only `System.out.println` lines in `tools`. Since `println_checks.xml` replaced the main file we did not notice that new version of checktyle removed `PrintlnModule` from the code base. Changes: - All code related to checking `tools` folder was moved in the main file - Renamed the `sun_...xml` file to the `checktyle.xml` which is default settings for checkstyle so we can track changes in it - Set the latest version for `checktyle` so it can validate new JDK features as well - Fixed problematic files which checkstyle highlighted ### Issues Resolved #3260 ### Testing `System.out.println` I tested manually all I can say it works :-) ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] Commits are signed per the DCO using --signoff By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check [here](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: Andrey Pleskach <ples@aiven.io>
- Loading branch information
1 parent
53f64b9
commit cd45e78
Showing
6 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters