THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

JSON partial responses for Java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
3.9KB

  1. <?xml version="1.0"?>
  2. <!DOCTYPE module PUBLIC
  3. "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
  4. "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
  5. <module name="Checker">
  6. <module name="NewlineAtEndOfFile">
  7. <property name="lineSeparator" value="lf"/>
  8. </module>
  9. <module name="FileLength"/>
  10. <module name="FileTabCharacter"/>
  11. <module name="RegexpSingleline">
  12. <property name="format" value="\s+$"/>
  13. <property name="message" value="Line has trailing spaces."/>
  14. </module>
  15. <module name="RegexpMultiline">
  16. <property name="format" value="\r?\n[\t ]*\r?\n[\t ]*\r?\n"/>
  17. <property name="message" value="Unnecessary consecutive lines"/>
  18. </module>
  19. <module name="RegexpSingleline">
  20. <property name="format" value="/\*\* +\p{javaLowerCase}"/>
  21. <property name="fileExtensions" value="java"/>
  22. <property name="message" value="First sentence in a comment should start with a capital letter"/>
  23. </module>
  24. <module name="RegexpMultiline">
  25. <property name="format" value="/\*\*\W+\* +\p{javaLowerCase}"/>
  26. <property name="fileExtensions" value="java"/>
  27. <property name="message" value="First sentence in a comment should start with a capital letter"/>
  28. </module>
  29. <module name="TreeWalker">
  30. <module name="ConstantName"/>
  31. <module name="LocalFinalVariableName"/>
  32. <module name="LocalVariableName"/>
  33. <module name="MemberName"/>
  34. <module name="MethodName"/>
  35. <module name="MethodLength">
  36. <property name="tokens" value="METHOD_DEF"/>
  37. <property name="max" value="200"/>
  38. </module>
  39. <module name="PackageName"/>
  40. <module name="ParameterName"/>
  41. <module name="StaticVariableName"/>
  42. <module name="TypeName"/>
  43. <module name="IllegalImport"/>
  44. <module name="UnusedImports">
  45. <property name="processJavadoc" value="true"/>
  46. </module>
  47. <module name="LineLength">
  48. <property name="max" value="195"/>
  49. </module>
  50. <module name="GenericWhitespace"/>
  51. <module name="EmptyForIteratorPad"/>
  52. <module name="MethodParamPad"/>
  53. <module name="NoWhitespaceAfter">
  54. <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
  55. </module>
  56. <module name="NoWhitespaceBefore"/>
  57. <module name="OperatorWrap"/>
  58. <module name="ParenPad"/>
  59. <module name="OneTopLevelClass"/>
  60. <module name="TypecastParenPad"/>
  61. <module name="WhitespaceAfter"/>
  62. <module name="WhitespaceAround"/>
  63. <module name="LeftCurly"/>
  64. <module name="RightCurly"/>
  65. <module name="CovariantEquals"/>
  66. <module name="EmptyStatement"/>
  67. <module name="EqualsAvoidNull"/>
  68. <module name="EqualsHashCode"/>
  69. <module name="IllegalInstantiation"/>
  70. <module name="MissingSwitchDefault"/>
  71. <module name="SimplifyBooleanExpression"/>
  72. <module name="SimplifyBooleanReturn"/>
  73. <module name="InterfaceIsType"/>
  74. <module name="FinalClass"/>
  75. <module name="ArrayTypeStyle"/>
  76. <module name="UpperEll"/>
  77. <module name="FinalParameters"/>
  78. <module name="ArrayTrailingComma"/>
  79. <module name="DeclarationOrder"/>
  80. <module name="DefaultComesLast"/>
  81. <module name="ExplicitInitialization"/>
  82. <module name="FallThrough"/>
  83. <module name="FinalLocalVariable"/>
  84. <module name="HiddenField">
  85. <property name="ignoreConstructorParameter" value="true"/>
  86. <property name="ignoreSetter" value="true"/>
  87. <property name="setterCanReturnItsClass" value="true"/>
  88. </module>
  89. <module name="IllegalCatch"/>
  90. <module name="IllegalThrows"/>
  91. <module name="IllegalToken"/>
  92. <module name="IllegalTokenText"/>
  93. <module name="IllegalType"/>
  94. <module name="InnerAssignment"/>
  95. </module>
  96. </module>