[ 
https://issues.apache.org/jira/browse/PHOENIX-7688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-7688:
---------------------------------
    Description: 
{noformat}
stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ jenv 
shell 1.8
stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ mvn 
spotless:check
[INFO] Scanning for projects...
...
[ERROR] Failed to execute goal 
com.diffplug.spotless:spotless-maven-plugin:2.30.0:check (default-cli) on 
project phoenix-core-client: The following files had format violations:
[ERROR]     src/main/java/org/apache/phoenix/schema/MetaDataClient.java
[ERROR]         @@ -4745,9 +4745,9 @@
[ERROR]          ··········/**
[ERROR]          
···········*·To·check·if·TTL·is·defined·at·any·of·the·child·below·we·are·checking·it·at
[ERROR]          
···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#mutateColumn(List,·ColumnMutator,·int,·PTable,·PTable,·boolean)}
[ERROR]         
-···········*·level·where·in·function·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
[ERROR]         
-···········*·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],
[ERROR]         
-···········*·byte[],·List,·int)}·we·are·already·traversing·through·allDescendantViews.
[ERROR]         +···········*·level·where·in·function
[ERROR]         
+···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],·byte[],·List,·int)}
[ERROR]         
+···········*·we·are·already·traversing·through·allDescendantViews.
[ERROR]          ···········*/
[ERROR]          ········}
[ERROR]          
[ERROR] Run 'mvn spotless:apply' to fix these violations.


{noformat}

  was:
{noformat}
stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ jenv 
shell 1.8
stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ mvn 
spotless:check
[INFO] Scanning for projects...
...
[ERROR] Failed to execute goal 
com.diffplug.spotless:spotless-maven-plugin:2.30.0:check (default-cli) on 
project phoenix-core-client: The following files had format violations:
[ERROR]     src/main/java/org/apache/phoenix/schema/MetaDataClient.java
[ERROR]         @@ -4745,9 +4745,9 @@
[ERROR]          ··········/**
[ERROR]          
···········*·To·check·if·TTL·is·defined·at·any·of·the·child·below·we·are·checking·it·at
[ERROR]          
···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#mutateColumn(List,·ColumnMutator,·int,·PTable,·PTable,·boolean)}
[ERROR]         
-···········*·level·where·in·function·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
[ERROR]         
-···········*·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],
[ERROR]         
-···········*·byte[],·List,·int)}·we·are·already·traversing·through·allDescendantViews.
[ERROR]         +···········*·level·where·in·function
[ERROR]         
+···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],·byte[],·List,·int)}
[ERROR]         
+···········*·we·are·already·traversing·through·allDescendantViews.
[ERROR]          ···········*/
[ERROR]          ········}
[ERROR]          
[ERROR] Run 'mvn spotless:apply' to fix these violations.
{noformat}


> Spotless behavies differently with Java 8 and 17
> ------------------------------------------------
>
>                 Key: PHOENIX-7688
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7688
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Istvan Toth
>            Priority: Major
>
> {noformat}
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ 
> jenv shell 1.8
> stoty@stoty-Precision-5570:~/workspaces/apache-phoenix/phoenix (master) $ mvn 
> spotless:check
> [INFO] Scanning for projects...
> ...
> [ERROR] Failed to execute goal 
> com.diffplug.spotless:spotless-maven-plugin:2.30.0:check (default-cli) on 
> project phoenix-core-client: The following files had format violations:
> [ERROR]     src/main/java/org/apache/phoenix/schema/MetaDataClient.java
> [ERROR]         @@ -4745,9 +4745,9 @@
> [ERROR]          ··········/**
> [ERROR]          
> ···········*·To·check·if·TTL·is·defined·at·any·of·the·child·below·we·are·checking·it·at
> [ERROR]          
> ···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#mutateColumn(List,·ColumnMutator,·int,·PTable,·PTable,·boolean)}
> [ERROR]         
> -···········*·level·where·in·function·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#
> [ERROR]         
> -···········*·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],
> [ERROR]         
> -···········*·byte[],·List,·int)}·we·are·already·traversing·through·allDescendantViews.
> [ERROR]         +···········*·level·where·in·function
> [ERROR]         
> +···········*·{@link·org.apache.phoenix.coprocessor.MetaDataEndpointImpl#·validateIfMutationAllowedOnParent(PTable,·List,·PTableType,·long,·byte[],·byte[],·byte[],·List,·int)}
> [ERROR]         
> +···········*·we·are·already·traversing·through·allDescendantViews.
> [ERROR]          ···········*/
> [ERROR]          ········}
> [ERROR]          
> [ERROR] Run 'mvn spotless:apply' to fix these violations.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to