8274031: Typo in StringBuilder.readObject

Reviewed-by: bpb
This commit is contained in:
Joe Darcy 2021-09-21 02:23:52 +00:00
parent d16bf04c95
commit 9c91ff57e8

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -479,7 +479,7 @@ public final class StringBuilder
} }
/** /**
* readObject is called to restore the state of the StringBuffer from * readObject is called to restore the state of the StringBuilder from
* a stream. * a stream.
* *
* @param s the {@code ObjectInputStream} from which data is read * @param s the {@code ObjectInputStream} from which data is read