FINERACT-942 Added and enforced MutableException Checkstyle

This commit is contained in:
thesmallstar
2020-06-20 00:04:31 +02:00
committed by Michael Vorburger ⛑️
parent 00a8feea8f
commit b20de7bced
2 changed files with 8 additions and 3 deletions
@@ -160,6 +160,7 @@
<message key="name.invalidPattern"
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MutableException"/>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyMethods" value="true"/>
@@ -185,7 +186,7 @@
< ! - - TODO Checks for Exception Handling Anti-Patterns - - >
<module name="IllegalCatch"/>
<module name="MutableException"/>
<module name="com.github.sevntu.checkstyle.checks.coding.AvoidHidingCauseExceptionCheck" />