Skip to content

Commit

Permalink
Add Checkstyle check for String literal equality (apache#8386)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandishKumarHN authored and leventov committed Aug 28, 2019
1 parent c73a489 commit f4e2902
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codestyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,8 @@ codestyle/checkstyle.xml.
"/>
<module name="ConstantName">
<property name="format" value="^log(ger)?$|^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/>
</module>

<module name="StringLiteralEquality"/>

</module>
</module>

0 comments on commit f4e2902

Please sign in to comment.