Andreas Dangel

Results 150 issues of Andreas Dangel

Java 24 will be released in March 2025. [OpenJDK 24](https://openjdk.org/projects/jdk/24/) GA is scheduled for 2025/03/18. I here list the JEPs I've so far confirmed to be of impact: - TODO...

an:enhancement

## Describe the PR ## Related issues - Fixes #5105 ## Ready? - [x] Added unit tests for fixed bug/feature - [x] Passing all unit tests - [x] Complete build...

a:new-rule

Ideally the rule documention for a single rule can be retrieved by a single URI. Currently we have one page per category and multiple rules on that page. It might...

in:documentation

This PR removes the PMD binaries from the repository. That way, a PMD update is just changing the pmdVersion config in package.json. This means, we don't see PRs with binaries...

enhancement

Following this checklist to help us incorporate your contribution quickly and easily: - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/MPMD) filed for the change (usually before you start...

documentation

## Describe the PR ## Related issues - Fixes #5244 ## Ready? - [ ] Added unit tests for fixed bug/feature - [ ] Passing all unit tests - [...

**Is your feature request related to a problem? Please describe.** There are now more immutable types in Java, not just String/BigDecimal/BigInteger. E.g. the types around java.time.* are all immutable: LocalDate,...

an:enhancement
a:false-negative

Another switch-related rule... ## Describe the PR - as it applies to both switch statements and switch expressions - this was already the case, the rule has not changed -...

## Describe the PR This also renamed the rule from `TooFewBranchesForASwitchStatement` to `TooFewBranchesForSwitch`. ## Related issues - Fixes #5249 - Fixes #5250 ## Ready? - [ ] Added unit tests...

## Describe the PR I only added the `isPatternLabel()` method as we don't need getPattern() or getGuard() yet. The rule already supported switch expressions, btw. ## Related issues - Fixes...