Kaydet (Commit) 40f1849e authored tarafından rbuj's avatar rbuj Kaydeden (comit) Thomas Arnhold

scripting: encode(String) in URLEncoder has been deprecated

http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLEncoder.html

Change-Id: I9d9b40ecf0d76618376975c52e5d9f27ec4bae8e
Reviewed-on: https://gerrit.libreoffice.org/11438Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst a28ad55a
......@@ -68,7 +68,7 @@ public class PathUtils {
{
buff.append('/');
}
buff.append( java.net.URLEncoder.encode( (String)t.nextElement() ) ); }
buff.append( java.net.URLEncoder.encode( (String)t.nextElement(),"UTF-8" ) ); }
return buff.toString();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment