jdk/src/share/classes/javax/security/auth/x500/X500Principal.java
changeset 10709 d865c9f21240
parent 7179 4afb81e50183
child 11846 d0507b006470
equal deleted inserted replaced
10708:f255532bf336 10709:d865c9f21240
   116      *                  is <code>null</code>
   116      *                  is <code>null</code>
   117      * @exception IllegalArgumentException if the <code>name</code>
   117      * @exception IllegalArgumentException if the <code>name</code>
   118      *                  is improperly specified
   118      *                  is improperly specified
   119      */
   119      */
   120     public X500Principal(String name) {
   120     public X500Principal(String name) {
   121         this(name, (Map<String, String>) Collections.EMPTY_MAP);
   121         this(name, Collections.<String, String>emptyMap());
   122     }
   122     }
   123 
   123 
   124     /**
   124     /**
   125      * Creates an <code>X500Principal</code> from a string representation of
   125      * Creates an <code>X500Principal</code> from a string representation of
   126      * an X.500 distinguished name (ex:
   126      * an X.500 distinguished name (ex: