RFR: 8089280: horizontal scrollbar should never become visible in TableView with constrained resize policy [v2]
Andy Goryachev
angorya at openjdk.org
Mon Sep 12 15:26:54 UTC 2022
On Sat, 10 Sep 2022 14:57:53 GMT, Kevin Rushforth <kcr at openjdk.org> 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
More information about the openjfx-dev
mailing list