8300864: Declare some fields in java.io as final

Reviewed-by: rriggs, lancea
This commit is contained in:
Per Minborg 2023-01-23 17:40:13 +00:00
parent a56598f5a5
commit 079255e312
8 changed files with 112 additions and 112 deletions

View file

@ -42,7 +42,7 @@ import java.util.Objects;
public class StringWriter extends Writer {
private StringBuffer buf;
private final StringBuffer buf;
/**
* Create a new string writer using the default initial string-buffer