A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1720 below:

[java] UnusedImports false positive for Javadoc link with array type · Issue #1720 · pmd/pmd · GitHub

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