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
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/http/converter/json/AbstractJackson2HttpMessageConverter.java
+13
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@
23
23
importjava.lang.reflect.Type;
24
24
importjava.nio.charset.Charset;
25
25
importjava.nio.charset.StandardCharsets;
26
+
importjava.util.ArrayList;
26
27
importjava.util.Arrays;
27
28
importjava.util.Collections;
28
29
importjava.util.LinkedHashMap;
@@ -194,6 +195,18 @@ public Map<MediaType, ObjectMapper> getObjectMappersForType(Class<?> clazz) {
Copy file name to clipboardExpand all lines: spring-web/src/test/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverterTests.java
+16
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,22 @@ public void canReadAndWriteMicroformats() {
Copy file name to clipboardExpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodArgumentResolver.java
+17-21
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -23,7 +23,6 @@
23
23
importjava.lang.reflect.Type;
24
24
importjava.util.ArrayList;
25
25
importjava.util.Collection;
26
-
importjava.util.Collections;
27
26
importjava.util.EnumSet;
28
27
importjava.util.LinkedHashSet;
29
28
importjava.util.List;
@@ -80,8 +79,6 @@ public abstract class AbstractMessageConverterMethodArgumentResolver implements
Copy file name to clipboardExpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/AbstractMessageConverterMethodProcessor.java
+10-15
Original file line number
Diff line number
Diff line change
@@ -299,7 +299,7 @@ else if (mediaType.isPresentIn(ALL_APPLICATION_MEDIA_TYPES)) {
299
299
thrownewHttpMessageNotWritableException(
300
300
"No converter for [" + valueType + "] with preset Content-Type '" + contentType + "'");
0 commit comments