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

JCasGen for producing FSArray is a raw type warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.2SDK
    • 3.1.0SDK
    • UIMA
    • None

    Description

      With the conversion of FSArray into Generic FSArray<> the JCasGen process does not handle the Generic type properly and will cause extensive warnings in application code.

      The 4 methods generating warnings are:

      xXXX - Feature name, Generic - generic type

      • public FSArray getXXX() { *...* }
      • public void setXXX(FSArray v) { ... }    
      • public Generic getXXX(int i) { ... }
      • public void setXXX(int i, Generic v) { ... }

      Attachments

        1. genericsWarningsTypeSystem.xml
          8 kB
          Hai-Son Nguyen
        2. patch-uima-6056v1.txt
          6 kB
          Hai-Son Nguyen
        3. patch-uima-6056v2.txt
          12 kB
          Hai-Son Nguyen
        4. typeSystemDescriptorTest.xml
          5 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: