uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hai-Son Nguyen (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-6055) JCasGen adds unused imports if class has no new features
Date Tue, 04 Jun 2019 17:25:00 GMT
Hai-Son Nguyen created UIMA-6055:
------------------------------------

             Summary: JCasGen adds unused imports if class has no new features
                 Key: UIMA-6055
                 URL: https://issues.apache.org/jira/browse/UIMA-6055
             Project: UIMA
          Issue Type: Bug
          Components: UIMA
    Affects Versions: 3.0.2SDK
            Reporter: Hai-Son Nguyen


In the JCasTypeTemplate class, the need for the following 3 imports:
 * *import* java.lang.invoke.CallSite;
 * *import* java.lang.invoke.MethodHandle;
 * *import* org.apache.uima.cas.impl.TypeSystemImpl;

were added to enable code added when new features are coded into the class.

 

In classes without new features will cause these import statements to generate unused import
warnings:

like "The import XXX is never used"

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message