diff --git a/modules/controls/src/main/java/javafx/scene/control/Spinner.java b/modules/controls/src/main/java/javafx/scene/control/Spinner.java --- a/modules/controls/src/main/java/javafx/scene/control/Spinner.java +++ b/modules/controls/src/main/java/javafx/scene/control/Spinner.java @@ -251,7 +251,7 @@ * be within the bounds of the min and max arguments, or * else the min value will be used. */ - public Spinner(@NamedArg("min") LocalDate min, + Spinner(@NamedArg("min") LocalDate min, @NamedArg("max") LocalDate max, @NamedArg("initialValue") LocalDate initialValue) { // This only works if the Spinner is of type LocalDate @@ -273,7 +273,7 @@ * @param amountToStepBy The amount to increment or decrement by, per step. * @param temporalUnit The size of each step (e.g. day, week, month, year, etc). */ - public Spinner(@NamedArg("min") LocalDate min, + Spinner(@NamedArg("min") LocalDate min, @NamedArg("max") LocalDate max, @NamedArg("initialValue") LocalDate initialValue, @NamedArg("amountToStepBy") long amountToStepBy, @@ -295,7 +295,7 @@ * be within the bounds of the min and max arguments, or * else the min value will be used. */ - public Spinner(@NamedArg("min") LocalTime min, + Spinner(@NamedArg("min") LocalTime min, @NamedArg("max") LocalTime max, @NamedArg("initialValue") LocalTime initialValue) { // This only works if the Spinner is of type LocalTime @@ -317,7 +317,7 @@ * @param amountToStepBy The amount to increment or decrement by, per step. * @param temporalUnit The size of each step (e.g. hour, minute, second, etc). */ - public Spinner(@NamedArg("min") LocalTime min, + Spinner(@NamedArg("min") LocalTime min, @NamedArg("max") LocalTime max, @NamedArg("initialValue") LocalTime initialValue, @NamedArg("amountToStepBy") long amountToStepBy, diff --git a/modules/controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java b/modules/controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java --- a/modules/controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java +++ b/modules/controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java @@ -870,7 +870,7 @@ * } * }); */ - public static class LocalDateSpinnerValueFactory extends SpinnerValueFactory { + static class LocalDateSpinnerValueFactory extends SpinnerValueFactory { /** * Creates a new instance of the LocalDateSpinnerValueFactory, using the @@ -1125,7 +1125,7 @@ * } * }); */ - public static class LocalTimeSpinnerValueFactory extends SpinnerValueFactory { + static class LocalTimeSpinnerValueFactory extends SpinnerValueFactory { /** * Creates a new instance of the LocalTimepinnerValueFactory, using the