A RetroSearch Logo

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

Search Query:

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

[java] UnusedImports when @see / @link pattern includes a FQCN · Issue #2025 · pmd/pmd · GitHub

Affects PMD Version: 6.18.0

Rule: bestpractices/UnusedImports

Description: If the class mentioned in a @see or @link is a FQCN, the parameters are not analyzed and may be considered unused imports.

Code Sample demonstrating the issue:

import spark.Request; // flaged, should not
import spark.Response; // flaged, should not

/**
 * {@link foo.bar.MyController#startTransaction(Request)}
 * @see foo.bar.MyController#startTransaction(Response)
 */
public class VendingV2PaymentRequest {
}	

Running PMD through: Any


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