[
https://issues.apache.org/jira/browse/UIMA-3985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092187#comment-14092187
]
Richard Eckart de Castilho commented on UIMA-3985:
--------------------------------------------------
I thought we are on Java 6 now and @override for methods inherited from
interface is valid there:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5008260
http://dertompson.com/2008/01/25/override-specification-changes-in-java-6/
> Incorrect use of @Override
> --------------------------
>
> Key: UIMA-3985
> URL: https://issues.apache.org/jira/browse/UIMA-3985
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.6.0SDK
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
> Fix For: 2.6.1SDK
>
>
> There are 2 instance in AnalysisEngineDescription_implTest which have code
> which declares an @Override on a method signature inherited from a
> superinterface (not a superclass). The Java Language Spec (
> http://docs.oracle.com/javase/specs/jls/se5.0/html/interfaces.html#9.6.1.4 )
> says this will cause a compile-time error to do this. For some reason, this
> hasn't been observed as an error, until today, when Eclipse started flagging
> it as one. The fix is simple - remove the @Override.
--
This message was sent by Atlassian JIRA
(v6.2#6252)