TSK-1009: fixed checkstyle rules

This commit is contained in:
Mustapha Zorgati 2020-01-09 15:36:18 +01:00 committed by Benjamin Eckstein
parent 2fbb88d25f
commit 587ed60d86
2 changed files with 9 additions and 7 deletions

View File

@ -3,7 +3,6 @@ package pro.taskana.impl;
import java.util.Objects;
import pro.taskana.WorkbasketAccessItem;
import pro.taskana.configuration.TaskanaEngineConfiguration;
/** WorkbasketAccessItemImpl Entity. */
public class WorkbasketAccessItemImpl implements WorkbasketAccessItem {

View File

@ -39,11 +39,12 @@
value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="NewlineAtEndOfFile"/>
<module name="SuppressWarningsFilter"/>
<module name="SuppressWarningsFilter"/>
<!-- https://checkstyle.org/config_filters.html#SuppressionFilter -->
<module name="TreeWalker">
<module name="UnusedImports"/>
<module name="OuterTypeFilename"/>
<module name="SuppressWarningsHolder"/>
<module name="SuppressWarningsHolder"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format"
@ -51,9 +52,9 @@
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="SuppressWarnings">
<property name="id" value="checkstyle:suppresswarnings"/>
</module>
<module name="SuppressWarnings">
<property name="id" value="checkstyle:suppresswarnings"/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
@ -210,7 +211,9 @@
<module name="CustomImportOrder">
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="separateLineBetweenGroups" value="true"/>
<property name="customImportOrderRules" value="STATIC###THIRD_PARTY_PACKAGE"/>
<property name="specialImportsRegExp" value="^pro\.taskana\."/>
<property name="customImportOrderRules"
value="STATIC###THIRD_PARTY_PACKAGE###SPECIAL_IMPORTS"/>
</module>
<module name="MethodParamPad"/>
<module name="NoWhitespaceBefore">