[
https://issues.apache.org/jira/browse/OFBIZ-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841303#action_12841303
]
Bob Morley commented on OFBIZ-3531:
-----------------------------------
Did a bit of research -- turns out that this is a compile error in java 5 but
not in java 6. I checked my preferences and even though I had installed the
1.6.0 JRE my compiler compliance level was still 1.5. After changing this
Eclipse compiled clean (like ant did using the 1.6 javac). Sorry about this; I
suspect if I had installed Eclipse after having the latest JRE installed it
would have worked fine; if someone upgrades then they will have to remember to
alter their compliance settings in Eclipse.
Feel free to close this ticket.
> 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.