mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 19:47:49 +01:00
Removed unused method in Html.java
This commit is contained in:
parent
6e340073a2
commit
388aae1bdc
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user