A RetroSearch Logo

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

Search Query:

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

Suggestion for searching for private only cycles · Issue #439 · pmd/pmd · GitHub

PMD is already able to find unused private methods and fields that are not used thus they can be removed.
But there will be no Warning if a private method is used by an other private method that is not used and so on.

example where both private methods are obsolete:

public class PrivateCycles {

	private void a() {
		b();
	}

	private void b() {
		a();
	}
}

Rule:UnusedPrivateMethod (or maybe new rule)


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