A RetroSearch Logo

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

Search Query:

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

[java] [7.0-rc1] UnnecessaryImport - Unused static import is being used · Issue #4432 · pmd/pmd · GitHub

Affects PMD Version:
7.0-rc1 upgrading from 6.55

Rule:
Unused static import

Description:
This static method is imported and being used. It comes from the parent interface on the outer class, but is being used by a static nested class so it must be imported.

Expected outcome:
PMD 7.0-rc1 reports a violation, but that's wrong and not reported by 6.55.

# File Line Problem 1 LocalAsyncLoadingCache.java 19 Unused static import 'com.github.benmanes.caffeine.cache.LocalAsyncCache.composeResult'

Running PMD through: Gradle
This requires workaround in gradle/gradle#24502


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