Skip to content

Commit

Permalink
minor: moves error prone suppressions under config
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and nrmancuso committed Nov 27, 2022
1 parent b2e49dd commit 495594e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/error-prone-check.groovy
Expand Up @@ -58,7 +58,7 @@ private int parseArgumentAndExecute(String argument, String flag) {
private static int checkErrorProneReport(String profile, String flag) {
final XmlParser xmlParser = new XmlParser()
final String suppressedErrorsFileUri =
".${File.separator}.ci${File.separator}" +
".${File.separator}config${File.separator}" +
"error-prone-suppressions${File.separator}${profile}-phase-suppressions.xml"
final List<String> errorProneErrors = getErrorProneErrors(profile)
Set<ErrorProneError> errors = Collections.emptySet()
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle_non_main_files_suppressions.xml
Expand Up @@ -95,7 +95,7 @@
<suppress id="lineLength" files=".ci[\\/]pitest-suppressions[\\/].*"/>

<!-- this file cannot be line wrapped, It contains a list of suppressions -->
<suppress id="lineLength" files=".ci[\\/]error-prone-suppressions[\\/].*"/>
<suppress id="lineLength" files="config[\\/]error-prone-suppressions[\\/].*"/>

<!-- this file cannot be line wrapped, It contains a list of suppressions -->
<suppress id="lineLength" files="config[\\/]checker-framework-suppressions[\\/].*"/>
Expand Down

0 comments on commit 495594e

Please sign in to comment.