Istvan Toth created PHOENIX-7688:
------------------------------------
Summary: Spotless behavies differently with Java 18 and 17
Key: PHOENIX-7688
URL: https://issues.apache.org/jira/browse/PHOENIX-7688
Project: Phoenix
Issue Type: Bug
Reporter: Istvan Toth
{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)