Re: Confusing javadoc on a method java.lang.StringBuilder#readObject

2021-09-20 Thread Joseph D. Darcy
On 9/8/2021 1:28 PM, Andrey Turbanov wrote: Hello. I found a confusing javadoc of the method java.lang.StringBuilder#readObject: "readObject is called to restore the state of the StringBuffer from a stream." I believe there should be "StringBuilder" instead of "StringBuffer". Agreed; filed

Confusing javadoc on a method java.lang.StringBuilder#readObject

2021-09-08 Thread Andrey Turbanov
Hello. I found a confusing javadoc of the method java.lang.StringBuilder#readObject: "readObject is called to restore the state of the StringBuffer from a stream." I believe there should be "StringBuilder" instead of "StringBuffer". Andrey Turbanov