Skip to content

Commit

Permalink
Issue checkstyle#13007: Update doc for UnusedImports
Browse files Browse the repository at this point in the history
  • Loading branch information
TanayMorakhia committed Apr 23, 2023
1 parent cada27c commit 04e58d8
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
* <module name="UnusedImports"/>
* </pre>
* <p>Example:</p>
* <source>
* <pre>
* package com.example;
*
* import com.example.Demo; // violation, class from the same package should not be imported
Expand All @@ -127,17 +127,17 @@
*
* @link List // violation
* @link java.util.List // OK
* </source>
* </pre>
* <p>
* To configure the check so that it ignores the imports referenced in Javadoc comments:
* </p>
* <source>
* <pre>
* &lt;module name=&quot;UnusedImports&quot;&gt;
* &lt;property name=&quot;processJavadoc&quot; value=&quot;false&quot;/&gt;
* &lt;/module&gt;
* </source>
* </pre>
* <p>Example:</p>
* <source>
* <pre>
* package com.example;
*
* import com.example.Demo; // violation, class from the same package should not be imported
Expand All @@ -154,7 +154,7 @@
*
* @link List // OK
* @link java.util.List // OK
* </source>
* </pre>
* <p>
* Parent is {@code com.puppycrawl.tools.checkstyle.TreeWalker}
* </p>
Expand Down

0 comments on commit 04e58d8

Please sign in to comment.