forked from phoedos/pmd
Reproducing bug False 2606609: 'UnusedImports' positive in package-info.java
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@6849 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
parent
59a60be0d2
commit
5a1a457eae
@ -202,4 +202,18 @@ public class Foo {
|
||||
}
|
||||
]]></code>
|
||||
</test-code>
|
||||
|
||||
<test-code regressionTest="false">
|
||||
<description><![CDATA[
|
||||
Bug 2606609 : False "UnusedImports" positive in package-info.java
|
||||
]]></description>
|
||||
<expected-problems>0</expected-problems>
|
||||
<code><![CDATA[
|
||||
@DefaultAnnotation(NonNull.class)
|
||||
package net.sourceforge.pmd.test;
|
||||
|
||||
public class Bug {}
|
||||
]]></code>
|
||||
</test-code>
|
||||
|
||||
</test-data>
|
Loading…
x
Reference in New Issue
Block a user