On Tue, 6 Dec 2022 06:39:32 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> Since this is an internal class (not public API), I won't object to this 
>> change. I do think it's a rather pointless change, but I'll leave it up to 
>> you.
>
> Personally, I find that re-declaring type hierarchy is clutter. I can see why 
> sometimes you might want to emphasize a functionality of a class that already 
> exists, but the IDE makes it rather easy, I find.

In this particular case, it doesn't matter (especially since it's not public 
API), so I'm OK with the change. Where I _do_ think being more explicit is 
useful, is when a subclass `S` of a base class `B` wants to indicate that it 
has the property of being an instance of an interface `I` independent of 
whether or not its superclass `B` happens to implement `I`.

-------------

PR: https://git.openjdk.org/jfx/pull/960

Reply via email to