[
https://issues.apache.org/jira/browse/OFBIZ-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrian Crum closed OFBIZ-3531.
------------------------------
Resolution: Won't Fix
I did some research too. It seems the functionality of @Override was extended
in Java 6, but it wasn't documented. The reason for allowing @Override on
interface method implementations is this: If the interface changes and a method
is removed, the compiler will generate a warning for classes that implement the
removed method.
> Methods that implement interface methods were being marked with the @Override
> annotation causing compile failure in Eclipse
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-3531
> URL: https://issues.apache.org/jira/browse/OFBIZ-3531
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Environment: Eclipse 3.5 on Mac OS X 10.5.8
> Reporter: Bob Morley
> Priority: Minor
> Fix For: SVN trunk
>
> Attachments: OFBIZ-3531_RemoveIncorrectOverrideAnnotations.patch
>
>
> Implementations of the TemporalExpressionVisitor interface and some base
> comparison methods were implementation methods but were marked with the
> @Override annotation. This caused compile errors in Eclipse in these four
> classes. I simply removed the @Override on these methods and I fixed one
> generics related warning.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.