Skip to content

Commit

Permalink
Update release notes, refs pmd#1060
Browse files Browse the repository at this point in the history
Closes pmd#1004
  • Loading branch information
oowekyala committed Apr 27, 2018
1 parent fd6b909 commit f7cf9c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/pages/release_notes.md
Expand Up @@ -114,6 +114,10 @@ from the comunity during the processm but if you have a legitimate use case for
that are annotated with `javax.inject.Inject`. Additionally, it detects now also unnecessary private constructors
in enums.

* The Java rule [`ControlStatementBraces`](pmd_rules_java_codestyle.html#controlstatementbraces) (`java-codestyle`)
supports a new boolean property `checkSingleIfStmts`. When unset, the rule won't report if statements which lack
braces, if the statement is not part of an `if ... else if` chain. This property defaults to true.

### Fixed Issues

* all
Expand All @@ -137,6 +141,7 @@ from the comunity during the processm but if you have a legitimate use case for
* java-codestyle
* [#1003](https://github.com/pmd/pmd/issues/1003): \[java] UnnecessaryConstructor triggered on required empty constructor (Dagger @Inject)
* [#1023](https://github.com/pmd/pmd/issues/1023): \[java] False positive for useless parenthesis
* [#1004](https://github.com/pmd/pmd/issues/1004): \[java] ControlStatementBraces is missing checkIfStmt property
* java-errorprone
* [#629](https://github.com/pmd/pmd/issues/629): \[java] NullAssignment false positive
* [#816](https://github.com/pmd/pmd/issues/816): \[java] SingleMethodSingleton false positives with inner classes
Expand Down

0 comments on commit f7cf9c1

Please sign in to comment.