|
From: <ek...@ba...> - 2003-03-31 19:35:30
|
As long as I'm doing a "for now" modification, I will instead use the default constructor that is available in JDK 1.3.1 and deprecated in JDK 1.4. I will leave a "note to self" of this change. bruce <br...@mc...> on 03/31/2003 02:31:16 PM To: ek...@ba... cc: "Babeldoc Developers List" <bab...@li...> Subject: Re: More JDK 1.3.1 incompatibilities Yes, delete the modules - for now... On Monday 31 March 2003 02:28 pm, ek...@ba... wrote: > java.net.URLEncoder and java.net.URLDecoder have a 2-arg constructor in > JDK 1.4 as well as a 1-arg constructor (which is now deprecated). The > 2nd argument is a String that represents the character encoding (such as > UTF-8). JDK 1.3.1 only has the 1-arg constructor. I have not > identified a way to set the encoding outside of the constructor. > > This situation is causing a compiler error in the following classes: > > com.babeldoc.web.context.JournalListingContext -- Line184 > com.babeldoc.babelfish.BabelfishTranslator -- Lines 102, 103, 230 > > Any thoughts? > > Erik |