Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-3985

Incorrect use of @Override

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.7.0SDK
    • Core Java Framework
    • None

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: