You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Barbara Moloney <ba...@dpi.nsw.gov.au> on 2018/03/04 08:39:54 UTC

Warnings after importing uimaj-examples

Hi
I seem to have an error free process when importing uimaj-examples from my
binary installation of UIMA into Eclipse. However I get a big long list of
warnings. See excerpt below and attached.

Does anyone have any suggestions? Do the warnings matter?

I'm using Java 1.8.0_161 on Windows 7 with UIMA 2.10.2 and Eclipse 4.7.2

Any help appreciated



*Barbara Moloney* *BVSc MVS(Epidemiology) MANZCVS(Epidemiology & Pathology)*
 |Technical Specialist (Epidemiology)

*NSW Department of Primary Industries* | *Biosecurity Intelligence &
Traceability*

​Australia​


Description Resource Path Location Type

ArrayList is a raw type. References to generic type ArrayList<E> should be
parameterized AdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow line 60 Java Problem

ArrayList is a raw type. References to generic type ArrayList<E> should be
parameterized AdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow line 70 Java Problem

-- 
 
------------------------------
This message is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please 
delete it and notify the sender. Views expressed in this message are those 
of the individual sender, and are not necessarily the views of their 
organisation.

Re: Warnings after importing uimaj-examples

Posted by Marshall Schor <ms...@schor.com>.
Hi Barbara,

In general, the warnings do not matter.

These typically stem from the evolution of Java, for example: adding Generic
Typing to the language. 
Many of the examples have not been updated to take advantage of Generic Typing,
which produces the "raw type" warnings.

Feel free to contribute patches to improve this :-)

-Marshall


On 3/4/2018 3:39 AM, Barbara Moloney wrote:
> Hi
> I seem to have an error free process when importing uimaj-examples from my
> binary installation of UIMA into Eclipse. However I get a big long list of
> warnings. See excerpt below and attached.
>
> Does anyone have any suggestions? Do the warnings matter?
>
> I'm using Java 1.8.0_161 on Windows 7 with UIMA 2.10.2 and Eclipse 4.7.2
>
> Any help appreciated
>
> * *
>
> *Barbara Moloney** **BVSc MVS(Epidemiology) MANZCVS(Epidemiology &
> Pathology)* |Technical Specialist (Epidemiology)
>
> *NSW Department of Primary Industries* | *Biosecurity Intelligence & Traceability*
>
> ​Australia​
>
>
> DescriptionResourcePathLocationType
>
> ArrayList is a raw type. References to generic type ArrayList<E> should be
> parameterizedAdvancedFixedFlowController.java/uimaj-examples/src/org/apache/uima/examples/flowline
> 60Java Problem
>
> ArrayList is a raw type. References to generic type ArrayList<E> should be
> parameterizedAdvancedFixedFlowController.java/uimaj-examples/src/org/apache/uima/examples/flowline
> 70Java Problem
>
>
>
> --------------------------------------------------------------------------------
> This message is intended for the addressee named and may contain confidential
> information. If you are not the intended recipient, please delete it and
> notify the sender. Views expressed in this message are those of the individual
> sender, and are not necessarily the views of their organisation.