Skip to content

Commit

Permalink
Checkstyle workaround for string templates (#156)
Browse files Browse the repository at this point in the history
* fix repetition of enum description

* add workaround for string templates in Java 21

---------

Co-authored-by: i590615 <[email protected]>
  • Loading branch information
panayot-marinov and panayotmarinov authored Jan 20, 2024
1 parent c0f3a1c commit 4c320d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/02-code-analysis-tools/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
<!-- <module name="NewlineAtEndOfFile"/>
Doesn't seem to work under windows or something: false triggering!
-->


<!-- Workaround for string templates (preview feature in Java 21)-->
<property name="haltOnException" value="false"/>
<module name="SuppressionSingleFilter">
<property name="message" value=".*IllegalStateException occurred while parsing file.*"/>
</module>

<module name="LineLength">
<property name="ignorePattern" value="^ *\* *[^ ]+$"/>
<property name="max" value="120"/>
Expand Down

0 comments on commit 4c320d4

Please sign in to comment.