This commit is contained in:
Redkale
2019-09-25 15:41:19 +08:00
parent 90e15dd253
commit 1791008729

View File

@@ -102,7 +102,7 @@ public class JsonWriter extends Writer {
super.recycle();
this.count = 0;
this.specify = null;
if (this.content.length > defaultSize) {
if (this.content != null && this.content.length > defaultSize) {
this.content = new char[defaultSize];
}
return true;