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

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 5609324  [SPARK-48606] Upgrade `google-java-format` to 1.22.0
5609324 is described below

commit 5609324a88908af0f15e760e971041f241b66273
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Jun 12 09:11:35 2024 -0700

    [SPARK-48606] Upgrade `google-java-format` to 1.22.0
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `google-java-format` from 1.17.0 to 1.22.0.
    
    ### Why are the changes needed?
    
    `google-java-format` plugin of Spark Kubernetes Operator repository is too 
old and may hit old bugs like the following. The latest version is recommended.
    ```
    java.lang.Exception: google-java-format 1.17.0 is currently being used, but 
outdated.
    google-java-format 1.19.2 is the recommended version, which may have fixed 
this problem.
    google-java-format 1.19.2 requires JVM 11+.
    ```
    
    Releases:
    - https://github.com/google/google-java-format/releases/tag/v1.22.0
    - https://github.com/google/google-java-format/releases/tag/v1.21.0
    - https://github.com/google/google-java-format/releases/tag/v1.20.0
    - https://github.com/google/google-java-format/releases/tag/v1.19.2
    - https://github.com/google/google-java-format/releases/tag/v1.19.1
    - https://github.com/google/google-java-format/releases/tag/v1.19.0
    - https://github.com/google/google-java-format/releases/tag/v1.18.1
    - https://github.com/google/google-java-format/releases/tag/v1.18.0
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #15 from dongjoon-hyun/SPARK-48606.
    
    Lead-authored-by: Dongjoon Hyun <[email protected]>
    Co-authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index a6c1701..cd50743 100644
--- a/build.gradle
+++ b/build.gradle
@@ -66,7 +66,7 @@ subprojects {
   spotless {
     java {
       endWithNewline()
-      googleJavaFormat('1.17.0')
+      googleJavaFormat('1.22.0')
       importOrder(
         'java',
         'javax',


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to