AtclauseOrder: adjust order to match that forced by IntelliJ
This commit is contained in:
parent
c24540c17c
commit
c1beb073da
2 changed files with 8 additions and 5 deletions
|
@ -386,17 +386,17 @@ Javadoc `@` clauses must be in the order:
|
|||
````
|
||||
/**
|
||||
*
|
||||
* @param ...
|
||||
* @author ...
|
||||
* @version ...
|
||||
* @param ...
|
||||
* @serial ...
|
||||
* @return ...
|
||||
* @throws ...
|
||||
* @exception ...
|
||||
* @serialData ...
|
||||
* @serialField ...
|
||||
* @see ...
|
||||
* @since ...
|
||||
* @serial ...
|
||||
* @serialField ...
|
||||
* @serialData ...
|
||||
* @deprecated ...
|
||||
*/
|
||||
````
|
||||
|
|
|
@ -29,7 +29,10 @@
|
|||
<module name="AnnotationUseStyle"/> <!-- annotations should only use () and named attributes when needed -->
|
||||
<module name="AnonInnerLength"/> <!-- limits anonymous inner classes to 20 lines -->
|
||||
<module name="ArrayTypeStyle"/> <!-- enforce Java style arrays -->
|
||||
<module name="AtclauseOrder"/> <!-- enforce standard order for javadoc elements -->
|
||||
<module name="AtclauseOrder"> <!-- enforce standard order for javadoc elements - matches IntelliJ's order -->
|
||||
<property name="tagOrder" value="@param, @author, @version, @serial, @return, @throws, @exception,
|
||||
@serialData, @serialField, @see, @since, @deprecated"/>
|
||||
</module>
|
||||
<module name="AvoidEscapedUnicodeCharacters"> <!-- prevent use of obscure escape codes -->
|
||||
<property name="allowEscapesForControlCharacters" value="true"/> <!-- unless non-printable controls -->
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue