diff options
author | rbuj <robert.buj@gmail.com> | 2014-09-14 15:27:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-09-15 06:09:09 +0000 |
commit | 5c2d2d087f22b00a8447d1d97de353242e89deab (patch) | |
tree | 8b014470ed5bdd34c90c08a9e8f167f30c76d56b /jurt/com | |
parent | 7b8934d27ea9b6aa227cc16272823f4bec55860f (diff) |
jurt: encode(String) in URLEncoder has been deprecated
Change-Id: I914985aa73653e0fb08200ddd06ad5b914087e3a
Reviewed-on: https://gerrit.libreoffice.org/11446
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'jurt/com')
-rw-r--r-- | jurt/com/sun/star/comp/loader/JavaLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jurt/com/sun/star/comp/loader/JavaLoader.java b/jurt/com/sun/star/comp/loader/JavaLoader.java index c82f8e941232..4298d0b756d5 100644 --- a/jurt/com/sun/star/comp/loader/JavaLoader.java +++ b/jurt/com/sun/star/comp/loader/JavaLoader.java @@ -109,7 +109,7 @@ public class JavaLoader implements XImplementationLoader, String macro = URLDecoder.decode( StringHelper.replace( url.substring( EXPAND_PROTOCOL_PREFIX.length() ), - '+', "%2B" ) ); + '+', "%2B" ), "UTF-8" ); // expand macro string String ret = m_xMacroExpander.expandMacros( macro ); if (DEBUG) { |