A RetroSearch Logo

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

Search Query:

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

[java] ClassNamingConventions is too ambitious on finding utility classes · Issue #1096 · pmd/pmd · GitHub

Affects PMD Version:
6.3.0

Rule:
ClassNamingConventions

Description:
ClassNamingConventions is too draconian on finding utility classes. For example, it would fail TestHelper as "doesn't match '[A-Z][a-zA-Z]+Util". I don't want to disable the rule because it also checks other classes and interfaces that I find useful. However, no one said every class with a private constructor must end with Util or the world would burn down.

Code Sample demonstrating the issue:
N/A


Running PMD through: Gradle


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