Skip to content

Commit 440145e

Browse files
committed
fix bugtrack number 28174, javadoc errors on greater than sign
1 parent 30369f3 commit 440145e

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

src/main/java/com/marklogic/client/admin/config/QueryOptions.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,17 @@
4949
* {@link com.marklogic.client.io.marker.StructureReadHandle read handle}
5050
* implementation instead of this class to write or read
5151
* query options. For instance:
52-
* <pre>String opts = new StringBuilder()
53-
* .append("&lt;options xmlns=\"http://marklogic.com/appservices/search\">")
54-
* .append( "&lt;debug>true&lt;/debug>")
55-
* .append("&lt;/options>")
56-
* .toString();
57-
*optsMgr.writeOptions("debug", new StringHandle(opts));</pre>
52+
* <pre>{@code
53+
* String opts = new StringBuilder()
54+
* .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
55+
* .append( "<debug>true</debug>")
56+
* .append("</options>")
57+
* .toString();
58+
* optsMgr.writeOptions("debug", new StringHandle(opts)); }</pre>
5859
* or
59-
* <pre>String opts = "{\"options\":{\"debug\":true}}";
60-
*optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON));</pre>
60+
* <pre>{@code
61+
* String opts = "{\"options\":{\"debug\":true}}";
62+
* optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON)); }</pre>
6163
*/
6264
@Deprecated
6365
@XmlAccessorType(XmlAccessType.FIELD)

src/main/java/com/marklogic/client/admin/config/QueryOptionsBuilder.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,17 @@
9494
* {@link com.marklogic.client.io.marker.StructureReadHandle read handle}
9595
* implementation instead of this class to write or read
9696
* query options. For instance:
97-
* <pre>String opts = new StringBuilder()
98-
* .append("&lt;options xmlns=\"http://marklogic.com/appservices/search\">")
99-
* .append( "&lt;debug>true&lt;/debug>")
100-
* .append("&lt;/options>")
101-
* .toString();
102-
*optsMgr.writeOptions("debug", new StringHandle(opts));</pre>
97+
* <pre>{@code
98+
* String opts = new StringBuilder()
99+
* .append("<options xmlns=\"http://marklogic.com/appservices/search\">")
100+
* .append( "<debug>true</debug>")
101+
* .append("</options>")
102+
* .toString();
103+
* optsMgr.writeOptions("debug", new StringHandle(opts)); }</pre>
103104
* or
104-
* <pre>String opts = "{\"options\":{\"debug\":true}}";
105-
*optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON));</pre>
105+
* <pre>{@code
106+
* String opts = "{\"options\":{\"debug\":true}}";
107+
* optsMgr.writeOptions("debug", new StringHandle(opts).withFormat(Format.JSON)); }</pre>
106108
*/
107109
@Deprecated
108110
public class QueryOptionsBuilder {

0 commit comments

Comments
 (0)