Merge branch 'pr-1737'
This commit is contained in:
@ -59,6 +59,8 @@ The designer will still be shipped with PMD's binaries.
|
||||
* [#1721](https://github.com/pmd/pmd/issues/1721): \[doc] Documentation provides an invalid property configuration example
|
||||
* java-bestpractices
|
||||
* [#1701](https://github.com/pmd/pmd/issues/1701): \[java] UseTryWithResources does not handle multiple argument close methods
|
||||
* java-codestyle
|
||||
* [#1674](https://github.com/pmd/pmd/issues/1674): \[java] documentation of CommentDefaultAccessModifier is wrong
|
||||
|
||||
### API Changes
|
||||
|
||||
@ -81,6 +83,7 @@ The designer will still be shipped with PMD's binaries.
|
||||
* [#1709](https://github.com/pmd/pmd/pull/1709): \[java] Detect while loops with literal booleans conditions - [David Burström](https://github.com/davidburstromspotify)
|
||||
* [#1717](https://github.com/pmd/pmd/pull/1717): \[java] Fix false positive in useTryWithResources when using a custom close method with multiple arguments - [Rishabh Jain](https://github.com/jainrish)
|
||||
* [#1724](https://github.com/pmd/pmd/pull/1724): \[doc] Correct property override example - [Felix W. Dekker](https://github.com/FWDekker)
|
||||
* [#1737](https://github.com/pmd/pmd/pull/1737): \[java] fix escaping of CommentDefaultAccessModifier documentation - [itaigilo](https://github.com/itaigilo)
|
||||
|
||||
{% endtocmaker %}
|
||||
|
||||
|
@ -404,7 +404,7 @@ public class Éléphant {}
|
||||
<description>
|
||||
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.
|
||||
</description>
|
||||
|
Reference in New Issue
Block a user