pmd: verify #254 False+ : UnusedImport with Javadoc @link
This commit is contained in:
1 parent
0739c2f601
commit
2c5b6e1fdb
1 file changed
+17
+17
@@ -218,4 +218,21 @@ import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
|
||||
import edu.umd.cs.findbugs.annotations.NonNull;
|
||||
]]></code>
|
||||
</test-code>
|
||||
|
||||
<test-code>
|
||||
<description>bug #254 False+ : UnusedImport with Javadoc @link</description>
|
||||
<expected-problems>0</expected-problems>
|
||||
<code><![CDATA[
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
public class Test {
|
||||
/**
|
||||
* {@link ArrayList#add(Object)}
|
||||
* @see Collections
|
||||
*/
|
||||
String[] getList() { }
|
||||
}
|
||||
]]></code>
|
||||
</test-code>
|
||||
</test-data>
|
||||
Reference in new issue
Block a user