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

JCasGen generating warnings by creating deprecated constructors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.2SDK
    • 3.1.0SDK
    • Core Java Framework, Tools
    • 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-6054v1.txt
          2 kB
          Hai-Son Nguyen
        2. patch-uima-6054v2.txt
          2 kB
          Hai-Son Nguyen
        3. patch-uima-6054v3.txt
          3 kB
          Hai-Son Nguyen
        4. patch-uima-6054v4.txt
          3 kB
          Hai-Son Nguyen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: