This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 17b24b4e2d chore: suppress checkstyle warnings for text blocks with
long strings
17b24b4e2d is described below
commit 17b24b4e2d29a7f318fa91b7cede4b86ab6885fb
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Wed Oct 8 21:48:53 2025 +0300
chore: suppress checkstyle warnings for text blocks with long strings
We can't make those strings shorter, and we can't wrap them.
---
config/checkstyle/checkstyle.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index e54989ba38..a4c84bd516 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -73,6 +73,13 @@
<property name="max" value="160"/>
<property name="fileExtensions" value="java, kt, kts, groovy"/>
</module>
+ <!-- See
https://checkstyle.sourceforge.io/checks/sizes/linelength.html#Example6-config
-->
+ <!-- See https://github.com/checkstyle/checkstyle/issues/17707 -->
+ <module name="SuppressWithPlainTextCommentFilter">
+ <property name="checkFormat" value="LineLength"/>
+ <property name="offCommentFormat" value='^.*"""$'/>
+ <property name="onCommentFormat" value='^\s*"""\s*(?:[,;]|.+)$'/>
+ </module>
<module name="TreeWalker">