Skip to content

Commit

Permalink
feat: initial test pending
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Jan 22, 2024
1 parent c33ffb0 commit 7e039e5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions java/dev/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
<property name="eachLine" value="true"/>
</module>

<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>

<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
Expand All @@ -72,10 +77,6 @@
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>
<module name="EmptyBlock">
Expand Down Expand Up @@ -223,14 +224,14 @@
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<!-- <property name="allowMissingThrowsTags" value="true"/>-->
<property name="allowMissingReturnTag" value="true"/>
<property name="minLineCount" value="2"/>
<!-- <property name="minLineCount" value="2"/>-->
<property name="allowedAnnotations" value="Override, Test"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<!-- <property name="allowThrowsTagsForSubclasses" value="true"/>-->
<!-- This seems partially broken under JDK >= 9. -->
<property name="suppressLoadErrors" value="true"/>
<property name="ignoreMethodNamesRegex" value="main"/>
<!-- <property name="suppressLoadErrors" value="true"/>-->
<!-- <property name="ignoreMethodNamesRegex" value="main"/>-->
</module>
<module name="JavadocType">
<property name="scope" value="public"/>
Expand Down
2 changes: 1 addition & 1 deletion java/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.19</version>
<version>8.29</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.19</version>
<version>8.29</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 7e039e5

Please sign in to comment.