On Sat, 10 Sep 2022 14:57:53 GMT, Kevin Rushforth <[email protected]> wrote:
>> Andy Goryachev has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> 8089280: added tests
>
> modules/javafx.controls/src/main/java/javafx/scene/control/skin/TableSkinUtils.java
> line 215:
>
>> 213: public static boolean isConstrainedResizePolicy(Callback<? extends
>> ResizeFeaturesBase,Boolean> x) {
>> 214: return (x == (Object)TableView.CONSTRAINED_RESIZE_POLICY) ||
>> 215: (x == (Object)TreeTableView.CONSTRAINED_RESIZE_POLICY);
>
> Is the cast to `(Object)` needed?
you are right, it's unnecessary. thanks!
-------------
PR: https://git.openjdk.org/jfx/pull/894