diff options
author | Buuhuu <diru91@googlemail.com> | 2012-08-13 23:05:30 +0200 |
---|---|---|
committer | Buuhuu <diru91@googlemail.com> | 2012-08-13 23:05:30 +0200 |
commit | 71795a0d57ad810fe8f36d0255d3d8b3fdcd7062 (patch) | |
tree | a4f3642ecfa18323d6e7ceac570c2136b843d913 /main/src/cgeo | |
parent | 501fd91ca3e9fa876ba8493b21ec9a2c08e1d893 (diff) | |
download | cgeo-71795a0d57ad810fe8f36d0255d3d8b3fdcd7062.zip cgeo-71795a0d57ad810fe8f36d0255d3d8b3fdcd7062.tar.gz cgeo-71795a0d57ad810fe8f36d0255d3d8b3fdcd7062.tar.bz2 |
Replace unnecessary replacement of + by %20
Diffstat (limited to 'main/src/cgeo')
-rw-r--r-- | main/src/cgeo/geocaching/utils/TranslationUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/utils/TranslationUtils.java b/main/src/cgeo/geocaching/utils/TranslationUtils.java index 5e5bb4b..0066d8e 100644 --- a/main/src/cgeo/geocaching/utils/TranslationUtils.java +++ b/main/src/cgeo/geocaching/utils/TranslationUtils.java @@ -30,7 +30,7 @@ public final class TranslationUtils { * @return URI ready to be parsed */ public static String buildTranslationURI(final String toLang, final String text) { - return translationWebsite + translationForceClassicMode + translationAutoSelect + translationFieldSeparator + toLang + translationFieldSeparator + URLEncoder.encode(Html.fromHtml(text).toString()).replace("+", "%20"); + return translationWebsite + translationForceClassicMode + translationAutoSelect + translationFieldSeparator + toLang + translationFieldSeparator + URLEncoder.encode(Html.fromHtml(text).toString()); } /** |