RFR: 8373038: Interpolator factories should follow method naming convention [v3]
Ambarish Rapte
arapte at openjdk.org
Wed Dec 24 06:47:22 UTC 2025
On Tue, 23 Dec 2025 18:22:42 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.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>
> replace reference to STEPS
Marked as reviewed by arapte (Reviewer).
-------------
PR Review: https://git.openjdk.org/jfx/pull/1996#pullrequestreview-3610078705
More information about the openjfx-dev
mailing list