mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8300864: Declare some fields in java.io as final
Reviewed-by: rriggs, lancea
This commit is contained in:
parent
a56598f5a5
commit
079255e312
8 changed files with 112 additions and 112 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue