Skip to content

Commit

Permalink
Update ruleset.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray authored Feb 16, 2024
1 parent 12a0949 commit f758eab
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
</properties>
</rule>
<rule ref="category/java/codestyle.xml/MDBAndSessionBeanNamingConvention" />
<rule ref="category/java/codestyle.xml/MethodArgumentCouldBeFinal" />
<!--rule ref="category/java/codestyle.xml/MethodArgumentCouldBeFinal" /-->
<rule ref="category/java/codestyle.xml/NoPackage" />
<rule ref="category/java/codestyle.xml/PrematureDeclaration" />
<rule ref="category/java/codestyle.xml/RemoteInterfaceNamingConvention" />
Expand Down Expand Up @@ -284,19 +284,19 @@

<!-- Documentation rules -->
<rule ref="category/java/documentation.xml/CommentContent" />
<rule ref="category/java/documentation.xml/CommentRequired">
<properties>
<property name="methodWithOverrideCommentRequirement" value="Ignored" />
<property name="accessorCommentRequirement" value="Ignored" />
<property name="classCommentRequirement" value="Ignored" />
<property name="fieldCommentRequirement" value="Ignored" />
<property name="publicMethodCommentRequirement" value="Required" />
<property name="protectedMethodCommentRequirement" value="Ignored" />
<property name="enumCommentRequirement" value="Required" />
<property name="serialVersionUIDCommentRequired" value="Ignored" />
<property name="serialPersistentFieldsCommentRequired" value="Ignored" />
</properties>
</rule>
<!--rule ref="category/java/documentation.xml/CommentRequired">
<properties>
<property name="methodWithOverrideCommentRequirement" value="Ignored" />
<property name="accessorCommentRequirement" value="Ignored" />
<property name="classCommentRequirement" value="Ignored" />
<property name="fieldCommentRequirement" value="Ignored" />
<property name="publicMethodCommentRequirement" value="Required" />
<property name="protectedMethodCommentRequirement" value="Ignored" />
<property name="enumCommentRequirement" value="Required" />
<property name="serialVersionUIDCommentRequired" value="Ignored" />
<property name="serialPersistentFieldsCommentRequired" value="Ignored" />
</properties>
</rule-->
<rule ref="category/java/documentation.xml/CommentSize">
<properties>
<property name="maxLines" value="10" />
Expand All @@ -319,7 +319,7 @@
<rule ref="category/java/errorprone.xml/AvoidCatchingNPE" />
<rule ref="category/java/errorprone.xml/AvoidCatchingThrowable" /><!--???-->
<rule ref="category/java/errorprone.xml/AvoidDecimalLiteralsInBigDecimalConstructor" />
<rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals" />
<!--rule ref="category/java/errorprone.xml/AvoidDuplicateLiterals" /-->
<rule ref="category/java/errorprone.xml/AvoidEnumAsIdentifier" />
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingMethodName" />
<rule ref="category/java/errorprone.xml/AvoidFieldNameMatchingTypeName" />
Expand Down Expand Up @@ -449,4 +449,4 @@
<rule ref="category/java/security.xml/HardCodedCryptoKey" />
<rule ref="category/java/security.xml/InsecureCryptoIv" />

</ruleset>
</ruleset>

0 comments on commit f758eab

Please sign in to comment.