7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message

To correct the typo

Reviewed-by: alanb, chegar
This commit is contained in:
Xueming Shen 2013-09-15 11:16:58 -07:00
parent 4df3876c56
commit 344c38fc80
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ public class CharacterName {
FileReader reader = null;
try {
if (args.length != 2) {
System.err.println("Usage: java CharacterName UniocdeData.txt uniName.dat");
System.err.println("Usage: java CharacterName UnicodeData.txt uniName.dat");
System.exit(1);
}

View File

@ -304,7 +304,7 @@ class Properties extends Hashtable<Object,Object> {
* preceded by a backslash still yield single and double quote
* characters, respectively.
*
* <li> Only a single 'u' character is allowed in a Uniocde escape
* <li> Only a single 'u' character is allowed in a Unicode escape
* sequence.
*
* </ul>