You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2019/08/16 08:13:26 UTC

[jmeter] 01/06: Added extra checkstyle rule Only java files should be in src/*/java

This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 9b6f3e9fddf1f7e6f3982a248fac947a5e3bf3af
Author: Graham Russell <gr...@ham1.co.uk>
AuthorDate: Thu Aug 15 10:23:35 2019 +0100

    Added extra checkstyle rule Only java files should be in src/*/java
    
    Part of #479 on github
---
 config/checkstyle/checkstyle.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index d4252f6..ed0c42c 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -50,12 +50,12 @@
     <property name="fileExtensions" value="java, kt, kts, groovy, xml, properties"/>
     <property name="message" value="Unnecessary consecutive lines"/>
   </module>
-  <!--<module name="RegexpOnFilename">-->
-    <!--<property name="folderPattern" value="[\\/]src[\\/]\w+[\\/]java[\\/]"/>-->
-    <!--<property name="fileNamePattern" value="\.java$"/>-->
-    <!--<property name="match" value="false"/>-->
-    <!--<message key="regexp.filepath.mismatch" value="Only java files should be located in the ''src/*/java'' folders."/>-->
-  <!--</module>-->
+  <module name="RegexpOnFilename">
+    <property name="folderPattern" value="[\\/]src[\\/]\w+[\\/]java[\\/]"/>
+    <property name="fileNamePattern" value="\.java$"/>
+    <property name="match" value="false"/>
+    <message key="regexp.filepath.mismatch" value="Only java files should be located in the ''src/*/java'' folders."/>
+  </module>
   <module name="UniqueProperties">
     <property name="fileExtensions" value="properties"/>
   </module>