From d8fcf45143b5997ea081014cb9a68ce054e6d249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20K=C3=BChne?= Date: Sat, 16 Oct 2004 17:27:20 +0000 Subject: [PATCH] rfe #1041590, allow header specification directly in checkstyle config file --- .../puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java index 0ebc15e09..984ffacb5 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RegexpHeaderCheck.java @@ -158,7 +158,8 @@ public class RegexpHeaderCheck extends AbstractHeaderCheck } catch (RESyntaxException ex) { throw new ConversionException( - "line " + i + " in header specification is not a regular expression"); + "line " + i + " in header specification" + + " is not a regular expression"); } } }