users@jaxb.java.net

Re: [1.0.1] The local variable attIdx is never read

From: Gary Gregory <ggregory_at_seagullsw.com>
Date: Fri, 13 Jun 2003 19:10:09 -0400

Hi,

I am using eclipse 3.0.M1 running on top of Sun Java 1.4.1_02 compiling our
app vs. Sun Java 1.3.1_08. Eclipse has its own compiler I believe.

Gary

-----Original Message-----
From: Ed Mooney [mailto:Ed.Mooney_at_Sun.COM]
Sent: Wednesday, June 11, 2003 07:17
To: JAXB-INTEREST_at_JAVA.SUN.COM
Subject: Re: [1.0.1] The local variable attIdx is never read

Hi Gary,

Thanks. Which compiler and JDK are you using?

Regards,
--
Ed Mooney         |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201            |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive       |fruit flies like
781-442-0459      |Burlington, MA  01803 |a banana. Groucho
Gary Gregory wrote:
> It would be nice to fix this compiler warning in the generated code for
> every single generated Impl class:
>
> Severity        Description     Resource        In Folder
> Location        Creation Time
>         The local variable attIdx is never read ConsoleTargetImpl.java
>
Transidiom-DevE/Java/Source/com/seagullsw/appinterface/server/config/bind/lo
g/impl
> line 121        June 9, 2003 5:34:16 PM
>
> FWIW, I also get the following warnings:
>
> Severity        Description     Resource        In Folder
> Location        Creation Time
>         The private method PRIMARY_INTERFACE_CLASS() from the type
> FileTargetImpl is never used locally FileTargetImpl.java
>
Transidiom-DevE/Java/Source/com/seagullsw/appinterface/server/config/bind/lo
g/impl
> line 27 June 9, 2003 5:34:16 PM
>
> Severity        Description     Resource        In Folder
> Location        Creation Time
>         The private method _assert(boolean, String) from the type
> UnmarshallerImpl is never used locally        UnmarshallerImpl.java
>
Transidiom-DevE/Java/Source/com/seagullsw/appinterface/server/config/bind/lo
g/impl/runtime
> line 181        June 9, 2003 5:34:16 PM
[ ... ]