[jfx14] [Rev 01] RFR: 8228867: Fix mistakes in FX API docs
Nir Lisker
nlisker at openjdk.java.net
Tue Feb 18 19:08:36 UTC 2020
On Tue, 18 Feb 2020 18:15:30 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> The pull request has been updated with 2 additional commits.
>
> modules/javafx.base/src/main/java/javafx/collections/ListChangeListener.java line 234:
>
>> 233: *
>> 234: * <pre><code> for (Node n : change.getAddedSubList()) {
>> 235: * // do something
>
> What is the problem with the existing example? It already matches our preferred pattern for example code:
>
> * <pre>{@code
> * sample code
> * goes here
> * }</pre>
Oh, in Eclipse that was not rendered correctly, probably because of the interaction between `<pre>` and `{@code}`. Do you want me to revert?
-------------
PR: https://git.openjdk.java.net/jfx/pull/110
More information about the openjfx-dev
mailing list