A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/commit/fa91d47f7b7b07a1126a515a18a28a3fc932826f below:

(doc) Update generated rule documentation · pmd/pmd@fa91d47 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+4

-2

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+4

-2

lines changed Original file line number Diff line number Diff line change

@@ -900,7 +900,7 @@ class Foo {

900 900

|finalFieldPattern|\[a-z\]\[a-zA-Z0-9\]\*|Regex which applies to final field names|no|

901 901

|staticFieldPattern|\[a-z\]\[a-zA-Z0-9\]\*|Regex which applies to static field names|no|

902 902

|defaultFieldPattern|\[a-z\]\[a-zA-Z0-9\]\*|Regex which applies to field names|no|

903 -

|exclusions|serialVersionUID|Names of fields to whitelist.|yes. Delimiter is '\|'.|

903 +

|exclusions|serialVersionUID \| serialPersistentFields|Names of fields to whitelist.|yes. Delimiter is '\|'.|

904 904 905 905

**Use this rule with the default properties by just referencing it:**

906 906

``` xml

@@ -917,7 +917,7 @@ class Foo {

917 917

<property name="finalFieldPattern" value="[a-z][a-zA-Z0-9]*" />

918 918

<property name="staticFieldPattern" value="[a-z][a-zA-Z0-9]*" />

919 919

<property name="defaultFieldPattern" value="[a-z][a-zA-Z0-9]*" />

920 -

<property name="exclusions" value="serialVersionUID" />

920 +

<property name="exclusions" value="serialVersionUID|serialPersistentFields" />

921 921

</properties>

922 922

</rule>

923 923

```

Original file line number Diff line number Diff line change

@@ -79,6 +79,7 @@ Denotes whether comments are required (or unwanted) for specific language elemen

79 79

|protectedMethodCommentRequirement|Required|Protected method constructor comments. Possible values: \[Required, Ignored, Unwanted\]|no|

80 80

|enumCommentRequirement|Required|Enum comments. Possible values: \[Required, Ignored, Unwanted\]|no|

81 81

|serialVersionUIDCommentRequired|Ignored|Serial version UID comments. Possible values: \[Required, Ignored, Unwanted\]|no|

82 +

|serialPersistentFieldsCommentRequired|Ignored|Serial persistent fields comments. Possible values: \[Required, Ignored, Unwanted\]|no|

82 83 83 84

**Use this rule with the default properties by just referencing it:**

84 85

``` xml

@@ -97,6 +98,7 @@ Denotes whether comments are required (or unwanted) for specific language elemen

97 98

<property name="protectedMethodCommentRequirement" value="Required" />

98 99

<property name="enumCommentRequirement" value="Required" />

99 100

<property name="serialVersionUIDCommentRequired" value="Ignored" />

101 +

<property name="serialPersistentFieldsCommentRequired" value="Ignored" />

100 102

</properties>

101 103

</rule>

102 104

```

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4