Skip to content

Commit

Permalink
Add failing use case for pmd#4578
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotuyod committed Jun 5, 2023
1 parent e8dbb54 commit e342bfd
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,22 @@ class C {
@AfterSuite
void afterSuite() {}
}
]]></code>
</test-code>

<test-code>
<description>#4578 failure with comment after annotation</description>
<expected-problems>0</expected-problems>
<code><![CDATA[
public class Test {
@SuppressWarnings("")
/* package */ void test1() {
}
/* package */ @SuppressWarnings("")
void test2() {
}
}
]]></code>
</test-code>
Expand Down

0 comments on commit e342bfd

Please sign in to comment.