Add escaping to documentation of CommentDefaultAccessModifier

This commit is contained in:
Itai Gilo
2019-03-25 20:26:32 +02:00
parent 3a866ddb9f
commit b4ce59abcd

View File

@ -475,7 +475,7 @@ public class Éléphant {}
To avoid mistakes if we want that a Method, Constructor, Field or Nested class have a default access modifier
we must add a comment at the beginning of it's declaration.
By default the comment must be /* default */ or /* package */, if you want another, you have to provide a regular expression.
By default the comment must be `/* default */` or `/* package */`, if you want another, you have to provide a regular expression.
This rule ignores by default all cases that have a @VisibleForTesting annotation. Use the
property "ignoredAnnotations" to customize the recognized annotations.