verify #1280 False Positive in UnusedImports when import used in javadoc
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user