On Tue, 18 Feb 2020 19:06:26 GMT, Nir Lisker <nlis...@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