jdk/src/share/classes/javax/naming/ldap/Rdn.java
changeset 25808 e113d0a0fde0
parent 23712 d46a902c1aed
--- a/jdk/src/share/classes/javax/naming/ldap/Rdn.java	Fri Aug 01 19:44:52 2014 +0100
+++ b/jdk/src/share/classes/javax/naming/ldap/Rdn.java	Fri Aug 01 22:32:51 2014 +0100
@@ -421,7 +421,7 @@
         private String type;
         private Object value;
 
-        // If non-null, a cannonical representation of the value suitable
+        // If non-null, a canonical representation of the value suitable
         // for comparison using String.compareTo()
         private String comparable = null;
 
@@ -571,10 +571,10 @@
     }
 
     /**
-     * Given an attribute value string formated according to the rules
+     * Given an attribute value string formatted according to the rules
      * specified in
      * <a href="http://www.ietf.org/rfc/rfc2253.txt">RFC 2253</a>,
-     * returns the unformated value.  Escapes and quotes are
+     * returns the unformatted value.  Escapes and quotes are
      * stripped away, and hex-encoded UTF-8 is converted to equivalent
      * UTF-16 characters. Returns a string value as a String, and a
      * binary value as a byte array.