Skip to content

Commit

Permalink
[core] Mark LazyStringBuilder's String cache as transient
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Nov 26, 2023
1 parent b35b67c commit 5a78534
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class LazyStringBuilder implements Appendable, CharSequence {

private final List<CharSequence> list;

private String cache;
private transient String cache;
private int cachedLength = -1;

private void invalidateCache() {
Expand Down

0 comments on commit 5a78534

Please sign in to comment.