Affects PMD Version:
Confirmed on 6.12.0 and 6.8.0
Rule:
UnusedImports
Description:
In case a JavaDoc link refers to an array typed imported type, the import is flagged as redundant.
Code Sample demonstrating the issue:FileAttribute
will be flagged as redundant.
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.attribute.FileAttribute;
/**
* See {@link Files#createDirectory(Path, FileAttribute[])}
*/
public class Test {}
Running PMD through:
Gradle/CLI
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4