[xmlc] Re: Use of deprecated getEncoding() method
"Jacob Kjome" <[email protected]> Tue, 17 Jan 2012 11:55:59 -0600
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1326826563-6158-1325 Content-Type: text/plain;charset=iso-8859-1; format="flowed" Content-Transfer-Encoding: quoted-printable Hi Franck, I think this might be a method that I overzealously deprecated.=A0 It's b= een a=20 bit since I thought about it, but I think it's one that I was considering= =20 undeprecating.=A0 For now, please ignore.=A0 I'll try to take a closer lo= ok at=20 this in the next week or two. Jake On Tue, 17 Jan 2012 18:34:31 +0100 =A0Franck Routier <[email protected]> wrote: > Hi Jake, and happy new year to you ! >=20 > I was trying to do my New Year's resolution and to clean the compilatio= n=20 >warnings in my projects... one of them I get for years now reads like : >=20 > [javac]=A0=A0=A0=A0=A0=A0=A0=A0 ExmodCabacdHTMLImpl.java:110: warning: = [deprecation]=20 >getEncoding() in org.enhydra.xml.xmlc.XMLObjectImpl has been deprecated > [javac]=A0=A0=A0=A0=A0=A0=A0=A0 setDocument((Document)src.getDocument()= .cloneNode(true),=20 >src.getMIMEType(), src.getEncoding()); >=20 > this is code generated by xmlc. Maybe I am missing an argument when usi= ng=20 >xmlc to generate the code... > Is there a way to get rid of these warnings ? >=20 >=20 > Thanks in advance, >=20 > Regards >Franck >=20 ------------=_1326826563-6158-1325 Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: quoted-printable -- You receive this message as a subscriber of the [email protected] mailing list= . To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=3Dhelp OW2 mailing lists service home page: http://www.ow2.org/wws ------------=_1326826563-6158-1325--