Skip to content

Commit

Permalink
Issue #13005: LineLength check documentation incorrectly shows how to…
Browse files Browse the repository at this point in the history
… work with tabWidth property
  • Loading branch information
shamithDI authored and romani committed May 22, 2023
1 parent 2f55e67 commit 40af44a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* The calculation of the length of a line takes into account the number of
* expanded spaces for a tab character ({@code '\t'}). The default number of spaces is {@code 8}.
* To specify a different number of spaces, the user can set
* <a href="https://checkstyle.org/config.html#TreeWalker">{@code TreeWalker}</a>
* <a href="https://checkstyle.org/config.html#Checker">{@code Checker}</a>
* property {@code tabWidth} which applies to all Checks, including {@code LineLength};
* or can set property {@code tabWidth} for {@code LineLength} alone.
* </li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
The calculation of the length of a line takes into account the number of
expanded spaces for a tab character ({@code '\t'}). The default number of spaces is {@code 8}.
To specify a different number of spaces, the user can set
&lt;a href="https://checkstyle.org/config.html#TreeWalker"&gt;{@code TreeWalker}&lt;/a&gt;
&lt;a href="https://checkstyle.org/config.html#Checker"&gt;{@code Checker}&lt;/a&gt;
property {@code tabWidth} which applies to all Checks, including {@code LineLength};
or can set property {@code tabWidth} for {@code LineLength} alone.
&lt;/li&gt;
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/config_sizes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ import java.util.Arrays; // ok
The calculation of the length of a line takes into account the
number of expanded spaces for a tab character (<code>'\t'</code>). The default number
of spaces is <code>8</code>. To specify a different number of spaces, the user can set
<a href="config.html#TreeWalker"><code>TreeWalker</code></a> property
<a href="config.html#Checker"><code>Checker</code></a> property
<code>tabWidth</code> which applies to all Checks, including <code>LineLength</code>;
or can set property <code>tabWidth</code> for <code>LineLength</code> alone.
</li>
Expand Down

0 comments on commit 40af44a

Please sign in to comment.