From 0609e158f76a8950e788ef6bd48d65221d1ba34b Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 3 Sep 2018 08:57:37 +0100 Subject: [PATCH] The new Java rule LinguisticNaming (java-codestyle) Detects cases, when a method name indicates it returns a boolean (such as isSmall()) but it doesn't. Besides method names, the rule also checks field and variable names. It also checks, that getters return something but setters won't. The rule has several properties with which it can be customized. --- src/main/resources/net/kemitix/pmd/java.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/net/kemitix/pmd/java.xml b/src/main/resources/net/kemitix/pmd/java.xml index c733932..5314bc9 100644 --- a/src/main/resources/net/kemitix/pmd/java.xml +++ b/src/main/resources/net/kemitix/pmd/java.xml @@ -104,6 +104,7 @@ http://pmd.sourceforge.net/ruleset/2.0.0 "> +