From 2cffa5a838e383f31b2726af9f62219c9fafed49 Mon Sep 17 00:00:00 2001
From: davidely <davidely@localhost>
Date: Thu, 14 Sep 2006 15:20:23 +0000
Subject: [PATCH] Changed <code> tag to <pre> to preserve formatting of examples in javadoc.

---
 opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
index 8edef42..c44f0c0 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/TestCaseUtils.java
@@ -338,7 +338,7 @@
    * This is an admittedly small advantage, but it does make things a little
    * easier and less error prone.  For example, this
    *
-     <code>
+     <pre>
        private static final String JOHN_SMITH_LDIF = TestCaseUtils.makeLdif(
           "dn: cn=John Smith,dc=example,dc=com",
           "objectclass: inetorgperson",
@@ -346,11 +346,11 @@
           "sn: Smith",
           "givenname: John");
 
-     </code>
+     </pre>
 
    is a <bold>little</bold> easier to work with than
 
-     <code>
+     <pre>
        private static final String JOHN_SMITH_LDIF =
           "dn: cn=John Smith,dc=example,dc=com\n" +
           "objectclass: inetorgperson\n" +
@@ -358,7 +358,7 @@
           "sn: Smith\n" +
           "givenname: John\n";
 
-     </code>
+     </pre>
    *
    * @return the concatenation of each line followed by a newline character
    */
@@ -374,14 +374,14 @@
    * This is a convience method that constructs an Entry from the specified
    * lines of LDIF.  Here's a sample usage
    *
-   <code>
+   <pre>
    Entry john = TestCaseUtils.makeEntry(
       "dn: cn=John Smith,dc=example,dc=com",
       "objectclass: inetorgperson",
       "cn: John Smith",
       "sn: Smith",
       "givenname: John");
-   </code>
+   </pre>
    * @see #makeLdif
    */
   public static Entry makeEntry(String... lines) throws Exception {
@@ -392,7 +392,7 @@
    * This is a convience method that constructs an List of EntryS from the
    * specified lines of LDIF.  Here's a sample usage
    *
-   <code>
+   <pre>
    List<Entry> smiths = TestCaseUtils.makeEntries(
       "dn: cn=John Smith,dc=example,dc=com",
       "objectclass: inetorgperson",
@@ -405,7 +405,7 @@
       "cn: Jane Smith",
       "sn: Smith",
       "givenname: Jane");
-   </code>
+   </pre>
    * @see #makeLdif
    */
   public static List<Entry> makeEntries(String... lines) throws Exception {

--
Gitblit v1.10.0