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

Kevin Rushforth kcr at openjdk.java.net
Tue Feb 18 18:17:51 UTC 2020


On Tue, 18 Feb 2020 02:21:38 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> Docs fixes for OpenJFX 14. We can wait with integrating this in case there are last minute fixes, but reviews can start.
> 
> 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>

-------------

PR: https://git.openjdk.java.net/jfx/pull/110


More information about the openjfx-dev mailing list