From 388aae1bdc06bc63aca2b407eb785a043056450d Mon Sep 17 00:00:00 2001 From: Risto Lahtela <24460436+Rsl1122@users.noreply.github.com> Date: Sun, 31 Jan 2021 10:02:31 +0200 Subject: [PATCH] Removed unused method in Html.java --- .../plan/delivery/rendering/html/Html.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/Html.java b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/Html.java index 00d791d36..83e23dc20 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/Html.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/delivery/rendering/html/Html.java @@ -22,7 +22,6 @@ import org.apache.commons.text.TextStringBuilder; import java.io.Serializable; import java.io.UnsupportedEncodingException; -import java.net.URLDecoder; import java.net.URLEncoder; import java.util.HashMap; import java.util.Map; @@ -145,17 +144,6 @@ public enum Html { return builder.toString(); } - public static String decodeFromURL(String string) { - try { - return StringUtils.replace( - URLDecoder.decode(string, "UTF-8"), - " ", "+" // Decoding replaces + with spaces - ); - } catch (UnsupportedEncodingException e) { - return string; - } - } - /** * @return The HTML String */