--- old/modules/javafx.base/src/main/java/javafx/util/Duration.java 2019-02-13 15:40:52.675393600 +0200 +++ new/modules/javafx.base/src/main/java/javafx/util/Duration.java 2019-02-13 15:40:52.169861400 +0200 @@ -32,7 +32,7 @@ *
* A class that defines a duration of time. Duration instances are immutable, * and are therefore replaced rather than modified, similar to {@link java.math.BigDecimal}. - * Duration's can be created using the constructor, or one of the static construction + * Durations can be created using the constructor, or one of the static construction * methods such as {@link #seconds} or {@link #minutes}. *
* @since JavaFX 2.0 --- old/modules/javafx.controls/src/main/java/javafx/scene/control/ChoiceBox.java 2019-02-13 15:40:57.400422900 +0200 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ChoiceBox.java 2019-02-13 15:40:56.728545000 +0200 @@ -60,7 +60,7 @@ * something other than what is available in the predefined list. This is * required for several important use cases. *- * It means configuration of the ChoiceBox is order independent. You + * This means that configuration of the ChoiceBox is order independent. You * may either specify the items and then the selected item, or you may * specify the selected item and then the items. Either way will function * correctly. --- old/modules/javafx.controls/src/main/java/javafx/scene/control/ContextMenu.java 2019-02-13 15:41:03.118687400 +0200 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ContextMenu.java 2019-02-13 15:41:01.546055000 +0200 @@ -269,7 +269,7 @@ * Shows the {@code ContextMenu} at the specified screen coordinates. If there * is not enough room at the specified location to show the {@code ContextMenu} * given its size requirements, the necessary adjustments are made to bring - * the {@code ContextMenu} back back on screen. This also means that the + * the {@code ContextMenu} back on screen. This also means that the * {@code ContextMenu} will not span multiple monitors. * @param anchor the anchor node * @param screenX the x position of the anchor in screen coordinates --- old/modules/javafx.controls/src/main/java/javafx/scene/control/ProgressBar.java 2019-02-13 15:41:17.888085600 +0200 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ProgressBar.java 2019-02-13 15:41:17.021087500 +0200 @@ -52,7 +52,6 @@ * * * - * Implementation of ProgressBar According to JavaFX UI Control API Specification * @since JavaFX 2.0 */ public class ProgressBar extends ProgressIndicator { --- old/modules/javafx.controls/src/main/java/javafx/scene/control/ProgressIndicator.java 2019-02-13 15:41:25.970242300 +0200 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ProgressIndicator.java 2019-02-13 15:41:25.454617300 +0200 @@ -59,7 +59,6 @@ * * * - * Implementation of ProgressIndicator According to JavaFX UI Control API Specification * @since JavaFX 2.0 */ public class ProgressIndicator extends Control { --- old/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollBar.java 2019-02-13 15:41:37.918331600 +0200 +++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollBar.java 2019-02-13 15:41:37.427227900 +0200 @@ -63,9 +63,8 @@ *
ScrollBar s1 = new ScrollBar();
* s1.setOrientation(Orientation.VERTICAL);
*
- *
+ *
*
- * Implementation of ScrollBar According to JavaFX UI Control API Specification
* @since JavaFX 2.0
*/
public class ScrollBar extends Control {
--- old/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java 2019-02-13 15:41:41.480350100 +0200
+++ new/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java 2019-02-13 15:41:40.808474000 +0200
@@ -69,7 +69,7 @@
* ScrollPane layout calculations are based on the layoutBounds rather than
* the boundsInParent (visual bounds) of the scroll node.
* If an application wants the scrolling to be based on the visual bounds
- * of the node (for scaled content etc.), they need to wrap the scroll
+ * of the node (for scaled content etc.), it needs to wrap the scroll
* node in a Group.
*
* ScrollPane sets focusTraversable to false.
--- old/modules/javafx.controls/src/main/java/javafx/scene/control/TableView.java 2019-02-13 15:41:46.855719200 +0200
+++ new/modules/javafx.controls/src/main/java/javafx/scene/control/TableView.java 2019-02-13 15:41:46.127415100 +0200
@@ -896,10 +896,9 @@
}
/**
- * This is the function called when the user completes a column-resize
- * operation. The two most common policies are available as static functions
- * in the TableView class: {@link #UNCONSTRAINED_RESIZE_POLICY} and
- * {@link #CONSTRAINED_RESIZE_POLICY}.
+ * Called when the user completes a column-resize operation. The two most common
+ * policies are available as static functions in the TableView class:
+ * {@link #UNCONSTRAINED_RESIZE_POLICY} and {@link #CONSTRAINED_RESIZE_POLICY}.
* @return columnResizePolicy property
*/
public final ObjectProperty
* A simple Timeline can be created like this:
- *
* This Timeline will run for 10s, animating the node by x axis to value 25 and then back to 0 on the second cycle.
*
--- old/modules/javafx.graphics/src/main/java/javafx/animation/Transition.java 2019-02-13 15:42:01.356320600 +0200
+++ new/modules/javafx.graphics/src/main/java/javafx/animation/Transition.java 2019-02-13 15:42:00.933612400 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2010, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -52,10 +52,7 @@
* with an empty {@code String} and adds gradually letter by letter until the
* full {@code String} was set when the animation finishes.
*
- *
* The launch method does not return until the application has exited,
- * either via a call to Platform.exit or all of the application windows
+ * either via a call to {@link Platform#exit()} or all of the application windows
* have been closed.
* The class specified by the {@code appClass} argument must be
* a public subclass of {@code Application}
@@ -229,7 +229,7 @@
/**
* Launch a standalone application. This method is typically called
- * from the main method(). It must not be called more than once or an
+ * from the {@code main} method. It must not be called more than once or an
* exception will be thrown.
* This is equivalent to {@code launch(TheClass.class, args)} where
* {@code TheClass} is the
@@ -242,7 +242,7 @@
*
*
* The launch method does not return until the application has exited,
- * either via a call to Platform.exit or all of the application windows
+ * either via a call to {@link Platform#exit()} or all of the application windows
* have been closed.
*
*
--- old/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java 2019-02-13 15:42:07.058339900 +0200
+++ new/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java 2019-02-13 15:42:06.620842900 +0200
@@ -136,7 +136,7 @@
*
* By default, rows and columns will be sized to fit their content;
* a column will be wide enough to accommodate the widest child, a
- * row tall enough to fit the tallest child.However, if an application needs
+ * row tall enough to fit the tallest child. However, if an application needs
* to explicitly control the size of rows or columns, it may do so by adding
* RowConstraints and ColumnConstraints objects to specify those metrics.
* For example, to create a grid with two fixed-width columns:
@@ -962,7 +962,7 @@
public final ObservableList{@code
- * final Timeline timeline = new Timeline();
+ *
* {@code final Timeline timeline = new Timeline();
* timeline.setCycleCount(2);
* timeline.setAutoReverse(true);
* timeline.getKeyFrames().add(new KeyFrame(Duration.millis(5000),
* new KeyValue (node.translateXProperty(), 25)));
- * timeline.play();
- * }
+ * timeline.play();}
- * {@code
- *
- * final String content = "Lorem ipsum";
+ *
*
* @see Animation
*
--- old/modules/javafx.graphics/src/main/java/javafx/application/Application.java 2019-02-13 15:42:04.152466100 +0200
+++ new/modules/javafx.graphics/src/main/java/javafx/application/Application.java 2019-02-13 15:42:03.714935200 +0200
@@ -185,12 +185,12 @@
/**
* Launch a standalone application. This method is typically called
- * from the main method(). It must not be called more than once or an
+ * from the {@code main} method. It must not be called more than once or an
* exception will be thrown.
*
* {@code final String content = "Lorem ipsum";
* final Text text = new Text(10, 20, "");
*
* final Animation animation = new Transition() {
@@ -71,8 +68,7 @@
*
* };
*
- * animation.play();
- * }
+ * animation.play();}