Skip to content
Permalink
Browse files
8274031: Typo in StringBuilder.readObject
Reviewed-by: bpb
  • Loading branch information
jddarcy committed Sep 21, 2021
1 parent d16bf04 commit 9c91ff57e8b4b48e997e0424ff93b29e695ec527
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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.
*
* This code is free software; you can redistribute it and/or modify it
@@ -479,7 +479,7 @@ private void writeObject(java.io.ObjectOutputStream s)
}

/**
* readObject is called to restore the state of the StringBuffer from
* readObject is called to restore the state of the StringBuilder from
* a stream.
*
* @param s the {@code ObjectInputStream} from which data is read

1 comment on commit 9c91ff5

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 9c91ff5 Sep 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.