This commit is contained in:
Looly 2022-02-28 18:09:40 +08:00
parent ce62b5e792
commit 1fbed3151c

View File

@ -289,7 +289,7 @@ public class StrJoiner implements Appendable, Serializable {
@Override @Override
public StrJoiner append(CharSequence csq) { public StrJoiner append(CharSequence csq) {
return append(csq, 0, csq.length()); return append(csq, 0, StrUtil.length(csq));
} }
@Override @Override
@ -303,6 +303,8 @@ public class StrJoiner implements Appendable, Serializable {
break; break;
case NULL_STRING: case NULL_STRING:
csq = StrUtil.NULL; csq = StrUtil.NULL;
endExclude = StrUtil.NULL.length();
break;
} }
} }
try { try {