Hi,

When building or compiling batik, there are always deprecated info
[warning] regarding URLEncoder encode and decode. To get rid of it
simply just use "UTF-8" or the default platform encoding.

According to Javadoc the URLEncoder.encode(string) is deprecated and
replaced with URLEncode.encode(string,string)

/org/apache/batik/apps/svgbrowser/Main.java:960 (line)
just change to
(URLEncoder.encode(lastVisited.get(i).toString(), "UTF-8"));

org/apache/batik/apps/svgbrowser/Main.java:1013 (line)
just change to 
lastVisited.addElement(URLDecoder.decode(st.nextToken(), "UTF-8"));

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to