changeset 8185:b9d59414de23

7186311: (props) "Unicode" is misspelled as "Uniocde" in JavaDoc and error message Summary: to correct the typo Reviewed-by: alanb, chegar
author sherman
date Sun, 15 Sep 2013 11:16:58 -0700
parents 5025ed287a4a
children efa09bf27d39
files make/tools/src/build/tools/generatecharacter/CharacterName.java src/share/classes/java/util/Properties.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/tools/src/build/tools/generatecharacter/CharacterName.java	Sun Sep 15 16:13:41 2013 +0200
+++ b/make/tools/src/build/tools/generatecharacter/CharacterName.java	Sun Sep 15 11:16:58 2013 -0700
@@ -11,7 +11,7 @@
         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);
             }
 
--- a/src/share/classes/java/util/Properties.java	Sun Sep 15 16:13:41 2013 +0200
+++ b/src/share/classes/java/util/Properties.java	Sun Sep 15 11:16:58 2013 -0700
@@ -304,7 +304,7 @@
      * 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>