You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2022/11/01 23:11:00 UTC

[spark] branch branch-3.3 updated: [MINOR][BUILD] Correct the `files` contend in `checkstyle-suppressions.xml`

This is an automated email from the ASF dual-hosted git repository.

srowen pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 067c4277712 [MINOR][BUILD] Correct the `files` contend in `checkstyle-suppressions.xml`
067c4277712 is described below

commit 067c4277712e1427a0f86bc31c622eed398e2431
Author: yangjie01 <ya...@baidu.com>
AuthorDate: Tue Nov 1 18:10:36 2022 -0500

    [MINOR][BUILD] Correct the `files` contend in `checkstyle-suppressions.xml`
    
    ### What changes were proposed in this pull request?
    The pr aims to change the suppress files from `sql/core/src/main/java/org/apache/spark/sql/api.java/*` to `sql/core/src/main/java/org/apache/spark/sql/api/java/*`, the former seems to be a wrong code path.
    
    ### Why are the changes needed?
    Correct the `files` contend in `checkstyle-suppressions.xml`
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    Pass GitHub Actions
    
    Closes #38469 from LuciferYang/fix-java-supperessions.
    
    Authored-by: yangjie01 <ya...@baidu.com>
    Signed-off-by: Sean Owen <sr...@gmail.com>
    (cherry picked from commit 5457193dc095bc6c97259e31fa3df44184822f65)
    Signed-off-by: Sean Owen <sr...@gmail.com>
---
 dev/checkstyle-suppressions.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/checkstyle-suppressions.xml b/dev/checkstyle-suppressions.xml
index 804a178a5fe..22acc505f4f 100644
--- a/dev/checkstyle-suppressions.xml
+++ b/dev/checkstyle-suppressions.xml
@@ -33,7 +33,7 @@
     <suppress checks=".*"
               files="external/spark-ganglia-lgpl/src/main/java/com/codahale/metrics/ganglia/GangliaReporter.java"/>
     <suppress checks=".*"
-              files="sql/core/src/main/java/org/apache/spark/sql/api.java/*"/>
+              files="sql/core/src/main/java/org/apache/spark/sql/api/java/*"/>
     <suppress checks="LineLength"
               files="src/test/java/org/apache/spark/sql/hive/test/Complex.java"/>
     <suppress checks="LineLength"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org