Merge branch 'pr-2866' into master

[java] (doc) Fix example for CouplingBetweenObjects #2866
This commit is contained in:
Andreas Dangel
2020-10-23 09:02:42 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -64,6 +64,7 @@ This is a {{ site.pmd.release_type }} release.
* [#2834](https://github.com/pmd/pmd/pull/2834): \[vf] Allow attributes with dot in Visualforce - [rmohan20](https://github.com/rmohan20)
* [#2842](https://github.com/pmd/pmd/pull/2842): \[core] Bump antlr4 from 4.7 to 4.7.2 - [Adrien Lecharpentier](https://github.com/alecharp)
* [#2865](https://github.com/pmd/pmd/pull/2865): \[java] (doc) Update ExcessiveImports example code for clarity - [Gustavo Krieger](https://github.com/gustavopcassol)
* [#2866](https://github.com/pmd/pmd/pull/2866): \[java] (doc) Fix example for CouplingBetweenObjects - [Gustavo Krieger](https://github.com/gustavopcassol)
{% endtocmaker %}

View File

@ -422,11 +422,11 @@ public class Foo {
private Bar var2;
//followed by many imports of unique objects
void ObjectC doWork() {
ObjectC doWork() {
Bardo var55;
ObjectA var44;
ObjectZ var93;
return something;
return something();
}
}
]]>