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

JCasGen generating warnings by creating deprecated constructors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.2SDK
    • Fix Version/s: 3.1.0SDK
    • Component/s: Core Java Framework, Tools
    • Labels:
      None

      Description

      The JCasGen process produces classes with a protected empty no parameter constructor.

      Base classes that have extended the Annotation class (org.apache.uima.jcas.tcas.Annotation) are now getting warnings that the constructor Annotation() is deprecated.

      The constructor documentation states, "Never called. Disable default constructor" but the presence of other constructors already serve this purpose. 

        Attachments

        1. patch-uima-6054v4.txt
          3 kB
          Hai-Son Nguyen
        2. patch-uima-6054v3.txt
          3 kB
          Hai-Son Nguyen
        3. patch-uima-6054v2.txt
          2 kB
          Hai-Son Nguyen
        4. patch-uima-6054v1.txt
          2 kB
          Hai-Son Nguyen

          Activity

            People

            • Assignee:
              schor Marshall Schor
              Reporter:
              kphaison Hai-Son Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: