mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-24 18:04:54 +08:00
fix code
This commit is contained in:
parent
1d1c881aa6
commit
315890ddc2
@ -117,6 +117,9 @@ public class URLDecoder implements Serializable {
|
||||
* @return 解码后的字符串
|
||||
*/
|
||||
public static String decode(final String str, final Charset charset, final boolean isPlusToSpace) {
|
||||
if(null == charset){
|
||||
return str;
|
||||
}
|
||||
if (null == str) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user