From a5349f581e11295b40b68ad194b3bfa10271f902 Mon Sep 17 00:00:00 2001 From: Roman Ivanov Date: Sun, 14 Jun 2015 10:24:02 -0700 Subject: [PATCH] failed attempt to reduce complexity in VariableDeclarationUsageDistanceCheck. #954 --- config/pmd.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/pmd.xml b/config/pmd.xml index ef2aa4c53..551d6b64e 100644 --- a/config/pmd.xml +++ b/config/pmd.xml @@ -27,8 +27,9 @@ getDetails - huge Switch, it has to be monolitic JavadocMethodCheck, JavadocStyleCheck, JavadocUtils.getJavadocTags() - deprecated FinalLocalVariableCheck.visitToken() - it is just big switch , not could be done + VariableDeclarationUsageDistanceCheck - it is not OK to have such a complicated logic need to be refactored. --> - +