6910472: Typo in : java.io.ObjectOutputStream.reset() "refered"
authordxu
Wed, 03 Oct 2012 09:03:53 +0100
changeset 14019 b08724d88d4b
parent 14018 3c3bf69fbec7
child 14020 b17c22caa38c
child 14022 43384f14d41b
6910472: Typo in : java.io.ObjectOutputStream.reset() "refered" Reviewed-by: dholmes, alanb
jdk/src/share/classes/java/io/ObjectOutputStream.java
--- a/jdk/src/share/classes/java/io/ObjectOutputStream.java	Wed Oct 03 15:11:28 2012 +0900
+++ b/jdk/src/share/classes/java/io/ObjectOutputStream.java	Wed Oct 03 09:03:53 2012 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2012, 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
@@ -484,7 +484,7 @@
      * stream.  The state is reset to be the same as a new ObjectOutputStream.
      * The current point in the stream is marked as reset so the corresponding
      * ObjectInputStream will be reset at the same point.  Objects previously
-     * written to the stream will not be refered to as already being in the
+     * written to the stream will not be referred to as already being in the
      * stream.  They will be written to the stream again.
      *
      * @throws  IOException if reset() is invoked while serializing an object.