File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/main/java/com/github/dockerjava/core/util Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 3
3
import java .util .List ;
4
4
import java .util .Map ;
5
5
6
- import javax .ws .rs .core .MediaType ;
7
-
8
6
import com .fasterxml .jackson .core .JsonProcessingException ;
9
7
import com .fasterxml .jackson .databind .ObjectMapper ;
10
- import com .fasterxml .jackson .jaxrs .json .JacksonJaxbJsonProvider ;
11
8
12
9
/**
13
10
* JSON Encoder for docker filters.
@@ -19,7 +16,7 @@ public class FiltersEncoder {
19
16
private FiltersEncoder () {
20
17
}
21
18
22
- private static final ObjectMapper MAPPER = new JacksonJaxbJsonProvider (). locateMapper ( Map . class , MediaType . APPLICATION_JSON_TYPE );
19
+ private static final ObjectMapper MAPPER = new ObjectMapper ( );
23
20
24
21
public static String jsonEncode (Map <String , List <String >> mapStringListString ) {
25
22
try {
You can’t perform that action at this time.
0 commit comments