FINERACT-2267: proper not null annotations. Remove jetbrains notnull, all services use non-null
This commit is contained in:
@@ -100,6 +100,14 @@
|
||||
<property name="forbiddenImportsRegexp" value="com.google.common.base.Charsets" />
|
||||
<property name="forbiddenImportsExcludesRegexp" value="" />
|
||||
<message key="forbid.certain.imports" value="Use ''java.nio.charset.StandardCharsets'' instead of ''{0}''" />
|
||||
</module>
|
||||
<!-- Forbid JetBrains annotations in Java sources; prefer Jakarta or Spring annotations -->
|
||||
<module name="com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck">
|
||||
<property name="packageNameRegexp" value=".*" />
|
||||
<property name="forbiddenImportsRegexp" value="org.jetbrains.annotations(\..*)?" />
|
||||
<property name="forbiddenImportsExcludesRegexp" value="" />
|
||||
<message key="forbid.certain.imports"
|
||||
value="Use 'jakarta.validation.constraints.NotNull' (API/DTO) or 'org.springframework.lang.NonNull' (services) instead of JetBrains annotations: ''{0}''" />
|
||||
</module>
|
||||
<module name="OneStatementPerLine"/>
|
||||
<module name="EmptyStatement"/>
|
||||
|
||||
Reference in New Issue
Block a user