Skip to content

Commit

Permalink
Remove Charset#forName from standard charset check
Browse files Browse the repository at this point in the history
  • Loading branch information
jared2501 authored and uschi2000 committed Jul 6, 2016
1 parent 686ddb5 commit db711b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
<property name="ignoreComments" value="true"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="\bCharset.forName\(|\bCharsets\."/>
<property name="format" value="\bCharsets\."/>
<property name="message" value="Use JDK StandardCharsets instead of alternatives."/>
</module>
<module name="RegexpSinglelineJava">
Expand Down

0 comments on commit db711b8

Please sign in to comment.