11// Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT License.
33
4- package com .azure .core .util . jsonpatch ;
4+ package com .azure .core .util ;
55
66import java .util .Collections ;
77
@@ -14,7 +14,7 @@ public class JsonPatchDocumentJavaDocCodeSnippet {
1414 */
1515 public void appendAdd () {
1616 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
17- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendAdd#String-Object
17+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendAdd#String-Object
1818 /*
1919 * Add an object member to the JSON document { "foo" : "bar" } to get the JSON document
2020 * { "bar": "foo", "foo": "bar" }.
@@ -38,15 +38,15 @@ public void appendAdd() {
3838 * { "foo": [ "fizz", "buzz", "fizzbuzz" ] }.
3939 */
4040 jsonPatchDocument .appendAdd ("/foo/-" , "fizzbuzz" );
41- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendAdd#String-Object
41+ // END: com.azure.core.util.JsonPatchDocument.appendAdd#String-Object
4242 }
4343
4444 /**
4545 * Codesnippets for {@link JsonPatchDocument#appendAddRaw(String, String)}.
4646 */
4747 public void appendAddRaw () {
4848 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
49- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendAddRaw#String-String
49+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendAddRaw#String-String
5050 /*
5151 * Add an object member to the JSON document { "foo" : "bar" } to get the JSON document
5252 * { "bar": "foo", "foo": "bar" }.
@@ -70,15 +70,15 @@ public void appendAddRaw() {
7070 * { "foo": [ "fizz", "buzz", "fizzbuzz" ] }.
7171 */
7272 jsonPatchDocument .appendAddRaw ("/foo/-" , "\" fizzbuzz\" " );
73- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendAddRaw#String-String
73+ // END: com.azure.core.util.JsonPatchDocument.appendAddRaw#String-String
7474 }
7575
7676 /**
7777 * Codesnippets for {@link JsonPatchDocument#appendReplace(String, Object)}.
7878 */
7979 public void appendReplace () {
8080 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
81- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendReplace#String-Object
81+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendReplace#String-Object
8282 /*
8383 * Replace an object member in the JSON document { "bar": "qux", "foo": "bar" } to get the JSON document
8484 * { "bar": "foo", "foo": "bar" }.
@@ -96,15 +96,15 @@ public void appendReplace() {
9696 * target path doesn't exist in the document.
9797 */
9898 jsonPatchDocument .appendReplace ("/baz" , "foo" );
99- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendReplace#String-Object
99+ // END: com.azure.core.util.JsonPatchDocument.appendReplace#String-Object
100100 }
101101
102102 /**
103103 * Codesnippets for {@link JsonPatchDocument#appendReplaceRaw(String, String)}.
104104 */
105105 public void appendReplaceRaw () {
106106 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
107- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendReplaceRaw#String-String
107+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendReplaceRaw#String-String
108108 /*
109109 * Replace an object member in the JSON document { "bar": "qux", "foo": "bar" } to get the JSON document
110110 * { "bar": "foo", "foo": "bar" }.
@@ -122,15 +122,15 @@ public void appendReplaceRaw() {
122122 * target path doesn't exist in the document.
123123 */
124124 jsonPatchDocument .appendReplaceRaw ("/baz" , "\" foo\" " );
125- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendReplaceRaw#String-String
125+ // END: com.azure.core.util.JsonPatchDocument.appendReplaceRaw#String-String
126126 }
127127
128128 /**
129129 * Codesnippets for {@link JsonPatchDocument#appendCopy(String, String)}.
130130 */
131131 public void appendCopy () {
132132 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
133- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendCopy#String-String
133+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendCopy#String-String
134134 /*
135135 * Copy an object member in the JSON document { "foo": "bar" } to get the JSON document
136136 * { "foo": "bar", "copy": "bar" }.
@@ -148,15 +148,15 @@ public void appendCopy() {
148148 * target from doesn't exist in the document.
149149 */
150150 jsonPatchDocument .appendCopy ("/baz" , "/fizz" );
151- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendCopy#String-String
151+ // END: com.azure.core.util.JsonPatchDocument.appendCopy#String-String
152152 }
153153
154154 /**
155155 * Codesnippets for {@link JsonPatchDocument#appendMove(String, String)}.
156156 */
157157 public void appendMove () {
158158 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
159- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendMove#String-String
159+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendMove#String-String
160160 /*
161161 * Move an object member in the JSON document { "foo": "bar", "bar": "foo" } to get the JSON document
162162 * { "bar": "bar" }.
@@ -180,15 +180,15 @@ public void appendMove() {
180180 * target from doesn't exist in the document.
181181 */
182182 jsonPatchDocument .appendMove ("/baz" , "/fizz" );
183- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendMove#String-String
183+ // END: com.azure.core.util.JsonPatchDocument.appendMove#String-String
184184 }
185185
186186 /**
187187 * Codesnippets for {@link JsonPatchDocument#appendRemove(String)}.
188188 */
189189 public void appendRemove () {
190190 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
191- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendRemove#String
191+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendRemove#String
192192 /*
193193 * Remove an object member in the JSON document { "foo": "bar", "bar": "foo" } to get the JSON document
194194 * { "foo": "bar" }.
@@ -206,15 +206,15 @@ public void appendRemove() {
206206 * target from doesn't exist in the document.
207207 */
208208 jsonPatchDocument .appendRemove ("/baz" );
209- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendRemove#String
209+ // END: com.azure.core.util.JsonPatchDocument.appendRemove#String
210210 }
211211
212212 /**
213213 * Codesnippets for {@link JsonPatchDocument#appendTest(String, Object)}.
214214 */
215215 public void appendTest () {
216216 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
217- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendTest#String-Object
217+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendTest#String-Object
218218 /*
219219 * Test an object member in the JSON document { "foo": "bar" } to get a successful operation.
220220 */
@@ -230,15 +230,15 @@ public void appendTest() {
230230 * the target path doesn't exist in the document.
231231 */
232232 jsonPatchDocument .appendTest ("/baz" , "bar" );
233- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendTest#String-Object
233+ // END: com.azure.core.util.JsonPatchDocument.appendTest#String-Object
234234 }
235235
236236 /**
237237 * Codesnippets for {@link JsonPatchDocument#appendTestRaw(String, String)}.
238238 */
239239 public void appendTestRaw () {
240240 JsonPatchDocument jsonPatchDocument = new JsonPatchDocument ();
241- // BEGIN: com.azure.core.util.jsonpatch. JsonPatchDocument.appendTestRaw#String-String
241+ // BEGIN: com.azure.core.util.JsonPatchDocument.appendTestRaw#String-String
242242 /*
243243 * Test an object member in the JSON document { "foo": "bar" } to get a successful operation.
244244 */
@@ -254,6 +254,6 @@ public void appendTestRaw() {
254254 * the target path doesn't exist in the document.
255255 */
256256 jsonPatchDocument .appendTestRaw ("/baz" , "\" bar\" " );
257- // END: com.azure.core.util.jsonpatch. JsonPatchDocument.appendTestRaw#String-String
257+ // END: com.azure.core.util.JsonPatchDocument.appendTestRaw#String-String
258258 }
259259}
0 commit comments