On Fri, 03 Feb 2006 00:12:54 +0100, "David N. Welton"
<davidw@dedasys.com> wrote, quoted or indirectly quoted someone who
said :

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
> On Fri, 03 Feb 2006 00:12:54 +0100, "David N. Welton"
> <davidw@dedasys.com> wrote, quoted or indirectly quoted someone who
[quoted text clipped - 4 lines]
>>
>>Can someone point me at the docs explaining this?
> see http://mindprod.com/jgloss/generics.html
Ok, thanks. Now, I guess what I need is a way to turn those warnings
off, because this is not 1.5 source code, nor will it be for a while.
If I understand things correctly, it ought to be enough to use the
'source' attribute in Ant, like the example provided in their docs, right?
<javac srcdir="${src}"
destdir="${build}"
classpath="xyz.jar"
debug="on"
source="1.4"
Thanks,

Signature
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/
Roedy Green - 04 Feb 2006 11:08 GMT
On Sat, 04 Feb 2006 10:22:06 +0100, "David N. Welton"
<davidw@dedasys.com> wrote, quoted or indirectly quoted someone who
said :
>If I understand things correctly, it ought to be enough to use the
>'source' attribute in Ant, like the example provided in their docs, right?
set source 1.4 target 1.4 and the warnings will go away. You can use
annotations to suppress them in 1.5. They don't take long to fix once
you have the hang of it.
See http://mindprod.com/jgloss/annotations.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
David N. Welton - 04 Feb 2006 13:26 GMT
> On Sat, 04 Feb 2006 10:22:06 +0100, "David N. Welton"
> <davidw@dedasys.com> wrote, quoted or indirectly quoted someone who
[quoted text clipped - 6 lines]
> annotations to suppress them in 1.5. They don't take long to fix once
> you have the hang of it.
> See http://mindprod.com/jgloss/annotations.html
Cool, thanks. Since this code has to compile for J2ME as well as J2SE,
the compiler switch is definitely the way to go.

Signature
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/