You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -224,10 +225,10 @@ private <T> T doMerge(ObjectNode root, T target, ObjectMapper mapper) throws Exc
224
225
*
225
226
* @param array the source {@link ArrayNode}m, must not be {@literal null}.
226
227
* @param collection the actual collection values, must not be {@literal null}.
227
-
* @param mapper the {@link ObjectMapper} to use, must not be {@literal null}.
228
-
* @return whether an object merge has been applied to the {@link ArrayNode}.
228
+
* @param componentType the item type of the collection
229
+
* @param mapper the {@link ObjectMapper} to use, must not be {@literal null}. @return whether an object merge has been applied to the {@link ArrayNode}.
Copy file name to clipboardExpand all lines: spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java
+51Lines changed: 51 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,9 @@
19
19
importstaticorg.junit.Assert.*;
20
20
importstaticorg.mockito.Mockito.*;
21
21
22
+
importlombok.AllArgsConstructor;
23
+
importlombok.NoArgsConstructor;
24
+
22
25
importjava.io.ByteArrayInputStream;
23
26
importjava.util.ArrayList;
24
27
importjava.util.Arrays;
@@ -60,6 +63,7 @@
60
63
*
61
64
* @author Oliver Gierke
62
65
* @author Craig Andrews
66
+
* @author Mathias Düsterhöft
63
67
*/
64
68
@RunWith(MockitoJUnitRunner.class)
65
69
publicclassDomainObjectReaderUnitTests {
@@ -373,6 +377,51 @@ public void writesArrayForPut() throws Exception {
0 commit comments