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