AbstractProcessor overrides process(..) for no reason
Joe Darcy
joe.darcy at oracle.com
Sun Oct 17 18:47:11 UTC 2021
Hello,
I think the occurrence of the placeholder for process method in
AbstractProcessor is innocuous. It doesn't result an a javadoc entry
with the configuration options for the JDK doc build.
While looking at the class, I noticed some place where @Override could
be used:
https://github.com/openjdk/jdk/pull/5979
Thanks,
-Joe
On 10/16/2021 4:42 AM, Japris Pogrammer wrote:
> Hi there, I've seen that javax.annotation.processing.AbstractProcessor
> overrides `Processor#process(..)` method without any changes to it [1]:
> - it still is abstract
> - signature is untouched
> - javadoc is untouched
> Is this done intentionally or this redundant override can be eliminated?
>
> [1]:
> https://github.com/openjdk/jdk/blob/bfcf6a29a16bc12d77a897fbec304868957c3188/src/java.compiler/share/classes/javax/annotation/processing/AbstractProcessor.java#L167-L171
>
>
> Thanks,
> Peter
More information about the core-libs-dev
mailing list