diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index bc1a36ec7a..09668b4201 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -15,6 +15,8 @@ This is a {{ site.pmd.release_type }} release. ### 🚀 New and noteworthy ### 🐛 Fixed Issues +* apex-bestpractices + * [#5095](https://github.com/pmd/pmd/issues/5095): \[apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7) ### 🚨 API Changes diff --git a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotationParameter.java b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotationParameter.java index 9b50126c41..3782b2946a 100644 --- a/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotationParameter.java +++ b/pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTAnnotationParameter.java @@ -4,6 +4,8 @@ package net.sourceforge.pmd.lang.apex.ast; +import org.checkerframework.checker.nullness.qual.NonNull; + import com.google.summit.ast.expression.Expression; import com.google.summit.ast.expression.LiteralExpression; import com.google.summit.ast.modifier.ElementArgument; @@ -50,4 +52,17 @@ public final class ASTAnnotationParameter extends AbstractApexNode.Single + + + [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7) #5095 + 9 + 2,5,10,15,20,25,30,35,40 + +