RFR: 8266666: Implementation for snippets [v23]

Pavel Rappo prappo at openjdk.java.net
Tue Sep 14 13:58:10 UTC 2021

On Tue, 14 Sep 2021 09:32:05 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> src/jdk.compiler/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java line 460:
>>> 458:      * @return  the result of {@code defaultAction}
>>> 459:      * @since 18
>>> 460:      */
>> optional: reformat the latter part of the comment to align param descriptions ... i.e. use IntelliJ IDEA reformat code
> Optional? Then I choose not to do it; thanks. In this PR, I tried hard to respect the ambient formatting for consistency.

I'm not sure that my IDE code style is configured the way you'd expect it to be. Please file a bug to reformat that and all similar methods in `SimpleDocTreeVisitor.java`. We might want to agree on and apply common doc comment style not only to this class but also to all classes in `com.sun.source.util` and maybe even `com.sun.source.**`.


PR: https://git.openjdk.java.net/jdk/pull/4795

More information about the compiler-dev mailing list