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

brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 4e3447ae17 Switch checkstyle to j11.
4e3447ae17 is described below

commit 4e3447ae1727a0d01c9d81792acbdeeef94d86d2
Author: Brandon Williams <[email protected]>
AuthorDate: Fri Mar 10 10:41:10 2023 -0600

    Switch checkstyle to j11.
    
    Patch by brandonwilliams; reviewed by edimitrova for CASSANDRA-18262
---
 build.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.xml b/build.xml
index 197f720472..9603db41bf 100644
--- a/build.xml
+++ b/build.xml
@@ -1948,7 +1948,7 @@
                classpathref="checkstyle.lib.path"/>
   </target>
 
-  <target name="checkstyle" depends="init-checkstyle,build-project" 
description="Run custom checkstyle code analysis" if="java.version.8" 
unless="no-checkstyle">
+  <target name="checkstyle" depends="init-checkstyle,build-project" 
description="Run custom checkstyle code analysis" if="java.version.11" 
unless="no-checkstyle">
       <property name="checkstyle.log.dir" value="${build.dir}/checkstyle" />
       <property name="checkstyle.report.file" 
value="${checkstyle.log.dir}/checkstyle_report.xml"/>
       <mkdir  dir="${checkstyle.log.dir}" />
@@ -1964,7 +1964,7 @@
       </checkstyle>
   </target>
 
-  <target name="checkstyle-test" 
depends="init-checkstyle,resolver-retrieve-build,build-project" 
description="Run custom checkstyle code analysis on tests" if="java.version.8" 
unless="no-checkstyle">
+  <target name="checkstyle-test" 
depends="init-checkstyle,resolver-retrieve-build,build-project" 
description="Run custom checkstyle code analysis on tests" if="java.version.11" 
unless="no-checkstyle">
       <property name="checkstyle.log.dir" value="${build.dir}/checkstyle" />
       <property name="checkstyle_test.report.file" 
value="${checkstyle.log.dir}/checkstyle_report_test.xml"/>
       <mkdir  dir="${checkstyle.log.dir}" />


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

Reply via email to