GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [java] CommentDefaultAccessModifier is triggered in JUnit5 test class · Issue #3859 · pmd/pmd Closed Labels a:false-positivePMD flags a piece of code that is not problematicgood first issueA great starting point for new contributors Milestone DescriptionAffects PMD Version: 6.43.0 Rule: JUnit5TestShouldBePackagePrivate Description: These 2 rules conflict with each other in JUnit5 test cases Code Sample demonstrating the issue: import org.junit.jupiter.api.Test; class SomeTest { @Test void test() { // run some test } } Expected outcome: CommentDefaultAccessModifier is not triggered in JUnit5 test class PMD reports a violation at line ..., but that's wrong. That's a false positive. Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other] Gradle Activity
MetadataMetadataAssigneesLabelsa:false-positivePMD flags a piece of code that is not problematicgood first issueA great starting point for new contributors TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |