Skip to content

Commit

Permalink
config: add preferMethodReference
Browse files Browse the repository at this point in the history
  • Loading branch information
AkMo3 authored and romani committed Apr 2, 2021
1 parent e5775d5 commit b4aa6b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions checkstyle-tester/checks-sevntu-error.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@
<module name="com.github.sevntu.checkstyle.checks.naming.UniformEnumConstantNameCheck" />
<module name="com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationElementValueCheck" />
<module name="com.github.sevntu.checkstyle.checks.design.HideUtilityClassConstructorCheck" />
<module name="com.github.sevntu.checkstyle.checks.coding.PreferMethodReferenceCheck">
<property name="detectForExpression" value="true" />
</module>
<module name="com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck">
<property name="forbiddenClassesRegexpProtected" value="Logger"/>
<property name="forbiddenClassesRegexpPublic" value="Logger"/>
Expand Down

0 comments on commit b4aa6b0

Please sign in to comment.