uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3985) Incorrect use of @Override
Date Sun, 10 Aug 2014 20:10:12 GMT
Marshall Schor created UIMA-3985:
------------------------------------

             Summary: 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)

Mime
View raw message