From 48363208115fc7c4c578b770e9d5b1cff214810f Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 19 Mar 2012 12:18:31 +0000
Subject: [PATCH] Fix checkstyle update for OpenDJ headers in unit and functional tests. 

---
 opendj-sdk/opends/ext/checkstyle/opends-functest-checkstyle.xml |    2 +-
 opendj-sdk/opends/ext/checkstyle/opends-unittest-checkstyle.xml |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/ext/checkstyle/opends-functest-checkstyle.xml b/opendj-sdk/opends/ext/checkstyle/opends-functest-checkstyle.xml
index fbdc5c3..782ee7f 100644
--- a/opendj-sdk/opends/ext/checkstyle/opends-functest-checkstyle.xml
+++ b/opendj-sdk/opends/ext/checkstyle/opends-functest-checkstyle.xml
@@ -9,7 +9,7 @@
     <property name="cacheFile" value="${basedir}/.checkstyle-cache/opends-functest-checkstyle.cache" />
 
     <!-- Ensure that each source file starts with the appropriate header -->
-    <module name="Header">
+    <module name="RegexpHeader">
       <property name="headerFile" value="${basedir}/ext/checkstyle/opendj.sourceheader" />
     </module>
   </module>
diff --git a/opendj-sdk/opends/ext/checkstyle/opends-unittest-checkstyle.xml b/opendj-sdk/opends/ext/checkstyle/opends-unittest-checkstyle.xml
index 2c22a98..cc87204 100644
--- a/opendj-sdk/opends/ext/checkstyle/opends-unittest-checkstyle.xml
+++ b/opendj-sdk/opends/ext/checkstyle/opends-unittest-checkstyle.xml
@@ -9,7 +9,7 @@
     <property name="cacheFile" value="${basedir}/.checkstyle-cache/opends-unittest-checkstyle.cache" />
 
     <!-- Ensure that each source file starts with the appropriate header -->
-    <module name="Header">
+    <module name="RegexpHeader">
       <property name="headerFile" value="${basedir}/ext/checkstyle/opendj.sourceheader" />
     </module>
   </module>

--
Gitblit v1.10.0