修复HttpUtil.urlWithFormUrlEncoded方法重复编码问题

This commit is contained in:
Looly
2024-04-08 17:31:18 +08:00
parent 28882f5833
commit 8ca768a997
3 changed files with 25 additions and 2 deletions

View File

@@ -269,7 +269,7 @@ public class StrUtil extends CharSequenceUtil implements StrPool {
*
* @param obj 对象
* @return {@link String }
* @author ahwei163@qq.com
* @author Junwei Xu
*/
public static String toStringOrEmpty(final Object obj) {
// obj为空时, 返回 null 或 "null" 都不适用部分场景, 此处返回 "" 空字符串