verify #1280 False Positive in UnusedImports when import used in javadoc

This commit is contained in:
Andreas Dangel
2014-11-15 15:19:12 +01:00
parent a8d7b594ab
commit 70723b16bc

View File

@ -175,6 +175,21 @@ public class Foo {
* @throws NoSuchElementException no such element
*/
public void test() {}
}
]]></code>
</test-code>
<test-code>
<description>#1280 False Positive in UnusedImports when import used in javadoc</description>
<expected-problems>0</expected-problems>
<code><![CDATA[
import some.pack.SomeUtility;
public class Foo {
/**
* The {@link SomeUtility#someHelperMethod(String, SomeObject)} method does something.
*/
public void someMethod() {
}
}
]]></code>
</test-code>