Skip to content

Commit

Permalink
doc: Fix Example3 in MagicNumberCheck Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mahfouz72 authored and romani committed Nov 22, 2024
1 parent 5a6a1ba commit 95a2f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module name="Checker">
<module name="TreeWalker">
<module name="MagicNumber">
<property name="ignoreFieldDeclaration" value="false"/>
<property name="ignoreFieldDeclaration" value="true"/>
</module>
</module>
</module>
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/coding/magicnumber.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class MyClass {
&lt;module name=&quot;Checker&quot;&gt;
&lt;module name=&quot;TreeWalker&quot;&gt;
&lt;module name=&quot;MagicNumber&quot;&gt;
&lt;property name=&quot;ignoreFieldDeclaration&quot; value=&quot;false&quot;/&gt;
&lt;property name=&quot;ignoreFieldDeclaration&quot; value=&quot;true&quot;/&gt;
&lt;/module&gt;
&lt;/module&gt;
&lt;/module&gt;
Expand Down

0 comments on commit 95a2f94

Please sign in to comment.