From b9c93777c38aa85699be88008cd5438eab791003 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Wed, 1 Jan 2025 17:58:46 +0100 Subject: [PATCH] Add `/*` header support Updates the ParameterizedRegexpHeaderCheck so it can also check Java file headers starting with `/*` instead of `/**`. Signed-off-by: Wouter Born --- .../analysis/checkstyle/ParameterizedRegexpHeaderCheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom-checks/checkstyle/src/main/java/org/openhab/tools/analysis/checkstyle/ParameterizedRegexpHeaderCheck.java b/custom-checks/checkstyle/src/main/java/org/openhab/tools/analysis/checkstyle/ParameterizedRegexpHeaderCheck.java index f9ffb175..af33e402 100644 --- a/custom-checks/checkstyle/src/main/java/org/openhab/tools/analysis/checkstyle/ParameterizedRegexpHeaderCheck.java +++ b/custom-checks/checkstyle/src/main/java/org/openhab/tools/analysis/checkstyle/ParameterizedRegexpHeaderCheck.java @@ -36,7 +36,7 @@ */ public class ParameterizedRegexpHeaderCheck extends AbstractHeaderCheck { // Default header formats - public static final String DEFAULT_JAVADOC_START_COMMENT = "/**"; + public static final String DEFAULT_JAVA_START_COMMENT = "/*"; public static final String DEFAULT_XML_START_COMMENT = "