6991013: Serialized form for java.util.Locale contains typos
Reviewed-by: peytoia
--- a/jdk/src/share/classes/java/util/Locale.java Thu Oct 14 11:37:22 2010 -0700
+++ b/jdk/src/share/classes/java/util/Locale.java Thu Oct 14 12:33:20 2010 -0700
@@ -1941,7 +1941,7 @@
* @serialField variant String
* variant subtags separated by LOWLINE characters. (See <a href="java/util/Locale.html#getVariant()">getVariant()</a>)
* @serialField hashcode int
- * deprectated, for forward compatibility only
+ * deprecated, for forward compatibility only
* @serialField script String
* script subtag in title case (See <a href="java/util/Locale.html#getScript()">getScript()</a>)
* @serialField extensions String
@@ -1979,7 +1979,7 @@
}
/**
- * Deserialize this <code>Locale</code>.
+ * Deserializes this <code>Locale</code>.
* @param in the <code>ObjectInputStream</code> to read
* @throws IOException
* @throws ClassNotFoundException