[jfx14] [Rev 01] RFR: 8228867: Fix mistakes in FX API docs
Kevin Rushforth
kcr at openjdk.java.net
Tue Feb 18 19:52:36 UTC 2020
On Tue, 18 Feb 2020 19:06:26 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
>> 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?
Yes, please.
-------------
PR: https://git.openjdk.java.net/jfx/pull/110
More information about the openjfx-dev
mailing list