Integrated: 8373038: Interpolator factories should follow method naming convention
Michael Strauß
mstrauss at openjdk.org
Mon Jan 5 22:54:57 UTC 2026
On Wed, 3 Dec 2025 17:08:24 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
> The following interpolator factories don't follow the standard method naming convention:
>
> * `Interpolator.SPLINE(double, double, double, double)`
> * `Interpolator.TANGENT(Duration, double, Duration, double)`
> * `Interpolator.TANGENT(Duration, double)`
> * `Interpolator.STEPS(int, StepPosition)`
>
> New methods named `ofSpline`, `ofTangent`, and `ofSteps` are added. The existing methods are deprecated (not for removal) in favor of the correctly-named methods. This change is in line with the new `ofLinear` method added with #1977.
This pull request has now been integrated.
Changeset: 79849fa6
Author: Michael Strauß <mstrauss at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/79849fa6e939abbab1d92cfcb4b8c6d22f7a83c6
Stats: 138 lines in 7 files changed: 65 ins; 8 del; 65 mod
8373038: Interpolator factories should follow method naming convention
Reviewed-by: angorya, kcr, arapte
-------------
PR: https://git.openjdk.org/jfx/pull/1996
More information about the openjfx-dev
mailing list