fix qr test

This commit is contained in:
Looly
2021-10-26 22:19:59 +08:00
parent 93a901d864
commit a77dce46cd
6 changed files with 36 additions and 9 deletions

View File

@@ -579,7 +579,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
private static int totalLength(CharSequence... strs) {
int totalLength = 0;
for (CharSequence str : strs) {
totalLength += (null == str ? 4 : str.length());
totalLength += (null == str ? 0 : str.length());
}
return totalLength;
}