[jfx14] [Rev 01] RFR: 8228867: Fix mistakes in FX API docs

Tom Schindl tom.schindl at bestsolution.at
Tue Feb 18 20:19:12 UTC 2020


IIRC I had filed a bugzilla a while ago at Eclipse on a javadoc Problem like that

Tom

Von meinem iPhone gesendet

> Am 18.02.2020 um 20:09 schrieb Nir Lisker <nlisker at openjdk.java.net>:
> 
> 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