Juan Martín Sotuyo Dodero
Juan Martín Sotuyo Dodero
**Affects PMD Version:** 6.4.0+, 7.0.0 **Rule:** `category/java/performance.xml/ConsecutiveAppendsShouldReuse` **Description:** If a lambda receives a `StringBuilder` or `StringBuffer`, and the type is inferred, PMD fails to detect it. **Code Sample demonstrating the...
## Describe the PR - This should be a better and more stable solution to the old @DeprecatedUntil700 we used during PMD 7's development. - It is not tied to...
**Affects PMD Version:** 7.0.0 **Description:** Since Java 9, PMD has allowed for concise resources (ie: not variables declared within the try-with-resources), but some constructs are currently rejected by the parser...
A bunch of `JUnit*` rules are incorrectly named given their current actual scope. * `JUnit4TestShouldUseBeforeAnnotation` actually checks for a correct transition from JUnit 3 to either 4 or 5. *...
**Affects PMD Version:** PMD 7.0.0-SNAPSHOT **Description:** When transversing the AST for [this file](https://github.com/checkstyle/checkstyle/blob/checkstyle-9.1/src/test/resources/com/puppycrawl/tools/checkstyle/checks/indentation/indentation/InputIndentationLongConcatenatedString.java) PMD fails with a StackOverflowError. Since InFixOperations are parsed as recursive tail descent structure, a new node...
[java] UseUtilityClass implementation hardcodes a message instead of using the on defined in the XML
The rule implementation hardcodes a message instead of using the on defined in the XML. There are legit uses of this (ie: rules that provide multiple messages with greater detail...
Java 23 will be released on September 17th. It ships a number of new feature previews that will impact PMD. [OpenJDK 23](https://openjdk.org/projects/jdk/23/) GA is scheduled for 2024/09/17. I here list...
## Describe the PR ## Related issues - Fixes #3602 - Fixes #4731 - Fixes #5151 - Fixes #5152 - Fixes #5153 ## Ready? - [x] Added unit tests for...