From 6d35c9189ec79dc663fffdf7b7a9ad2d23fa3a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Wed, 17 Aug 2022 10:51:49 -0300 Subject: [PATCH] Property descriptions should not include defaults - The default is properly modeled and is up to the consumer to choose where / when to render it fopr consistency --- .../main/java/net/sourceforge/pmd/renderers/HTMLRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/renderers/HTMLRenderer.java b/pmd-core/src/main/java/net/sourceforge/pmd/renderers/HTMLRenderer.java index aaba3b065b..ac15a315e7 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/renderers/HTMLRenderer.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/renderers/HTMLRenderer.java @@ -40,7 +40,7 @@ public class HTMLRenderer extends AbstractIncrementingRenderer { public static final PropertyDescriptor HTML_EXTENSION = PropertyFactory.booleanProperty("htmlExtension") - .desc("Replace file extension with .html for the links (default: false)") + .desc("Replace file extension with .html for the links.") // default value is false - to have the old (pre 6.23.0) behavior, this needs to be set to true. .defaultValue(false) .build();