Skip to content

Commit e06e587

Browse files
committed
update Java version
1 parent 9474d0d commit e06e587

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

api/com.upokecenter.cbor.CBORObject.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2923,8 +2923,8 @@ Generates a CBORObject from an arbitrary object. See the overload of this
29232923
getters.</li><li>Then, the method returns a CBOR map with each eligible
29242924
getter's name or property name as each key, and with the corresponding value
29252925
returned by that getter as that key's value. Before adding a key-value pair
2926-
to the map, the key's name adjusts according to the rules described in
2927-
the <code>PODOptions</code> documentation. Note that for
2926+
to the map, the key's name adjusts according to the rules described in the
2927+
<code>PODOptions</code> documentation. Note that for
29282928
security reasons, certain types are not supported even if they contain
29292929
eligible getters.</li></ul> <p><b>REMARK:</b> .NET enumeration (<code>
29302930
Enum</code>) constants could also have been converted to text strings with <code>
@@ -4600,21 +4600,21 @@ Gets the CBOR object referred to by a JSON Pointer according to RFC6901. For
46004600

46014601
<p>Returns a copy of this object after applying the operations in a JSON
46024602
patch, in the form of a CBOR object. JSON patches are specified in RFC 6902
4603-
and their format is summarized in the remarks given later.</p> <p><b>Remarks:</b>
4604-
A JSON patch is an array with one or more maps. Each map has the following
4605-
keys: </p> <ul> <li>"op" - Required. This key's value is the patch operation
4606-
and must be "add", "remove", "move", "copy", "test", or "replace", in basic
4607-
lowercase letters and no other case combination.</li><li>"value" - Required
4608-
if the operation is "add", "replace", or "test" and specifies the item to
4609-
add (insert), or that will replace the existing item, or to check an
4610-
existing item for equality, respectively. (For "test", the operation fails
4611-
if the existing item doesn't match the specified value.)</li><li>"path" -
4612-
Required for all operations. A JSON Pointer (RFC 6901) specifying the
4613-
destination path in the CBOR object for the operation. For more information,
4614-
see RFC 6901 or the documentation for AtJSONPointer(pointer,
4615-
defaultValue).</li><li>"from" - Required if the operation is "move" or
4616-
"copy". A JSON Pointer (RFC 6901) specifying the path in the CBOR object
4617-
where the source value is located.</li></ul>
4603+
and their format is summarized in the remarks given later.</p>
4604+
<p><b>Remarks:</b> A JSON patch is an array with one or more maps. Each map
4605+
has the following keys: </p> <ul> <li>"op" - Required. This key's value is
4606+
the patch operation and must be "add", "remove", "move", "copy", "test", or
4607+
"replace", in basic lowercase letters and no other case
4608+
combination.</li><li>"value" - Required if the operation is "add",
4609+
"replace", or "test" and specifies the item to add (insert), or that will
4610+
replace the existing item, or to check an existing item for equality,
4611+
respectively. (For "test", the operation fails if the existing item doesn't
4612+
match the specified value.)</li><li>"path" - Required for all operations. A
4613+
JSON Pointer (RFC 6901) specifying the destination path in the CBOR object
4614+
for the operation. For more information, see RFC 6901 or the documentation
4615+
for AtJSONPointer(pointer, defaultValue).</li><li>"from" - Required if the
4616+
operation is "move" or "copy". A JSON Pointer (RFC 6901) specifying the path
4617+
in the CBOR object where the source value is located.</li></ul>
46184618

46194619
**Parameters:**
46204620

src/main/java/com/upokecenter/cbor/CBORObject.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,8 +2491,8 @@ public static CBORObject FromObject(
24912491
* getters.</li><li>Then, the method returns a CBOR map with each eligible
24922492
* getter's name or property name as each key, and with the corresponding value
24932493
* returned by that getter as that key's value. Before adding a key-value pair
2494-
* to the map, the key's name adjusts according to the rules described in
2495-
* the {@link com.upokecenter.cbor.PODOptions} documentation. Note that for
2494+
* to the map, the key's name adjusts according to the rules described in the
2495+
* {@link com.upokecenter.cbor.PODOptions} documentation. Note that for
24962496
* security reasons, certain types are not supported even if they contain
24972497
* eligible getters.</li></ul> <p><b>REMARK:</b> .NET enumeration ({@code
24982498
* Enum}) constants could also have been converted to text strings with {@code
@@ -4851,21 +4851,21 @@ public CBORObject AtJSONPointer(String pointer, CBORObject defaultValue) {
48514851
/**
48524852
* <p>Returns a copy of this object after applying the operations in a JSON
48534853
* patch, in the form of a CBOR object. JSON patches are specified in RFC 6902
4854-
* and their format is summarized in the remarks given later.</p> <p><b>Remarks:</b>
4855-
* A JSON patch is an array with one or more maps. Each map has the following
4856-
* keys: </p> <ul> <li>"op" - Required. This key's value is the patch operation
4857-
* and must be "add", "remove", "move", "copy", "test", or "replace", in basic
4858-
* lowercase letters and no other case combination.</li><li>"value" - Required
4859-
* if the operation is "add", "replace", or "test" and specifies the item to
4860-
* add (insert), or that will replace the existing item, or to check an
4861-
* existing item for equality, respectively. (For "test", the operation fails
4862-
* if the existing item doesn't match the specified value.)</li><li>"path" -
4863-
* Required for all operations. A JSON Pointer (RFC 6901) specifying the
4864-
* destination path in the CBOR object for the operation. For more information,
4865-
* see RFC 6901 or the documentation for AtJSONPointer(pointer,
4866-
* defaultValue).</li><li>"from" - Required if the operation is "move" or
4867-
* "copy". A JSON Pointer (RFC 6901) specifying the path in the CBOR object
4868-
* where the source value is located.</li></ul>
4854+
* and their format is summarized in the remarks given later.</p>
4855+
* <p><b>Remarks:</b> A JSON patch is an array with one or more maps. Each map
4856+
* has the following keys: </p> <ul> <li>"op" - Required. This key's value is
4857+
* the patch operation and must be "add", "remove", "move", "copy", "test", or
4858+
* "replace", in basic lowercase letters and no other case
4859+
* combination.</li><li>"value" - Required if the operation is "add",
4860+
* "replace", or "test" and specifies the item to add (insert), or that will
4861+
* replace the existing item, or to check an existing item for equality,
4862+
* respectively. (For "test", the operation fails if the existing item doesn't
4863+
* match the specified value.)</li><li>"path" - Required for all operations. A
4864+
* JSON Pointer (RFC 6901) specifying the destination path in the CBOR object
4865+
* for the operation. For more information, see RFC 6901 or the documentation
4866+
* for AtJSONPointer(pointer, defaultValue).</li><li>"from" - Required if the
4867+
* operation is "move" or "copy". A JSON Pointer (RFC 6901) specifying the path
4868+
* in the CBOR object where the source value is located.</li></ul>
48694869
* @param patch A JSON patch in the form of a CBOR object; it has the form
48704870
* summarized in the remarks.
48714871
* @return The result of the patch operation.

0 commit comments

Comments
 (0)