mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
18.52.2012 bda273a38733b438678d3194909b5baea23bf55b
opendj3/src/main/docbkx/dev-guide/chap-writing.xml
@@ -113,7 +113,7 @@
  <programlisting language="java">// An entry to add to the directory
DN entryDN = DN.valueOf("cn=Bob,ou=People,dc=example,dc=com");
Entry entry = new TreeMapEntry(entryDN.toString())
Entry entry = new LinkedHashMapEntry(entryDN.toString())
    .addAttribute("cn", "Bob")
    .addAttribute("objectclass", "top")
    .addAttribute("objectclass", "person")