jdk/src/java.prefs/windows/classes/java/util/prefs/WindowsPreferences.java
changeset 30789 9eca83469588
parent 30641 701f6f90dc0b
child 32037 ab4526f4ac10
--- a/jdk/src/java.prefs/windows/classes/java/util/prefs/WindowsPreferences.java	Fri May 22 10:45:59 2015 -0700
+++ b/jdk/src/java.prefs/windows/classes/java/util/prefs/WindowsPreferences.java	Fri May 22 16:43:39 2015 -0700
@@ -1013,7 +1013,6 @@
      * description of the encoding algorithm.
      */
      private static String toJavaValueString(byte[] windowsNameArray) {
-        // Use modified native2ascii algorithm
         String windowsName = byteArrayToString(windowsNameArray);
         StringBuilder javaName = new StringBuilder();
         char ch;
@@ -1055,8 +1054,7 @@
      * Encoding algorithm adds "/" character to capital letters, i.e.
      * "A" is encoded as "/A". Character '\' is encoded as '//',
      * '/' is encoded as  '\'.
-     * Then encoding scheme similar to jdk's native2ascii converter is used
-     * to convert java string to a byte array of ASCII characters.
+     * Then convert java string to a byte array of ASCII characters.
      */
     private static byte[] toWindowsValueString(String javaName) {
         StringBuilder windowsName = new StringBuilder();