SSD adapted
[staff/due1/sed-hs15-srs-purple.git] / src / checkstyle / checkstyle-configuration.xml
CommitLineData
46f2c1f7
ED
1<?xml version="1.0"?>
2
3<!DOCTYPE module PUBLIC
4 "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
5 "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
6
7<module name="Checker">
8
9 <!-- Checks that each Java package has a Javadoc file used for commenting. -->
10 <!-- See http://checkstyle.sf.net/config_javadoc.html#JavadocPackage -->
11 <!--module name="JavadocPackage">
12 <property name="allowLegacy" value="true"/>
13 </module-->
14
15 <module name="FileLength"/>
16
17 <!-- Checks for Headers. -->
18 <!-- See http://checkstyle.sf.net/config_header.html -->
19 <module name="RegexpHeader">
20 <property name="headerFile" value="${checkstyle.header.file}"/>
21 </module>
22
23 <!-- Line with trailing spaces. -->
24 <!-- See http://checkstyle.sourceforge.net/config_regexp.html#RegexpSingleline -->
25 <module name="RegexpSingleline">
26 <property name="format" value="\s+$"/>
27 <property name="message" value="Line has trailing spaces."/>
28 </module>
29
30 <!-- Checks whether files end with a new line. -->
31 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
32 <module name="NewlineAtEndOfFile">
33 <property name="lineSeparator" value="lf"/>
34 </module>
35
36 <module name="TreeWalker">
37 <!-- Checks for long lines. -->
38 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
39 <module name="LineLength">
40 <property name="max" value="360"/>
41 </module>
42 <!-- Checks for Star imports. -->
43 <!-- See http://checkstyle.sourceforge.net/config_imports.html -->
44 <module name="AvoidStarImport">
45 <!-- <property name="excludes" value="java.io,java.net,java.lang.Math"/> -->
46 <property name="allowClassImports" value="false"/>
47 <property name="allowStaticMemberImports" value="false"/>
48 </module>
49 <!-- Checks for non-visibility of members. -->
50 <!-- See http://checkstyle.sourceforge.net/config_design.html -->
51 <module name="VisibilityModifier">
52 <property name="protectedAllowed" value="true"/>
53 </module>
54 </module>
55</module>