File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
src/main/java/io/serverlessworkflow/api/deserializers Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 27
27
<dependency >
28
28
<groupId >com.fasterxml.jackson.core</groupId >
29
29
<artifactId >jackson-core</artifactId >
30
+ <version >[2.13.0,)</version >
30
31
</dependency >
31
32
<dependency >
32
33
<groupId >com.fasterxml.jackson.core</groupId >
33
34
<artifactId >jackson-databind</artifactId >
35
+ <version >[2.13.0,)</version >
34
36
</dependency >
35
37
<dependency >
36
38
<groupId >com.fasterxml.jackson.dataformat</groupId >
37
39
<artifactId >jackson-dataformat-yaml</artifactId >
40
+ <version >[2.13.0,)</version >
38
41
</dependency >
39
42
<dependency >
40
43
<groupId >javax.validation</groupId >
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ public ConstantsDeserializer(WorkflowPropertySource context) {
53
53
@ Override
54
54
public Constants deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
55
55
56
- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
57
56
JsonNode node = jp .getCodec ().readTree (jp );
58
57
59
58
Constants constants = new Constants ();
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ public SecretsDeserializer(WorkflowPropertySource context) {
54
54
55
55
@ Override
56
56
public Secrets deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
57
- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
58
57
JsonNode node = jp .getCodec ().readTree (jp );
59
58
60
59
Secrets secrets = new Secrets ();
Original file line number Diff line number Diff line change 18
18
import com .fasterxml .jackson .core .JsonParser ;
19
19
import com .fasterxml .jackson .databind .DeserializationContext ;
20
20
import com .fasterxml .jackson .databind .JsonNode ;
21
- import com .fasterxml .jackson .databind .ObjectMapper ;
22
21
import com .fasterxml .jackson .databind .deser .std .StdDeserializer ;
23
22
import io .serverlessworkflow .api .functions .SubFlowRef ;
24
23
import io .serverlessworkflow .api .interfaces .WorkflowPropertySource ;
@@ -47,7 +46,6 @@ public SubFlowRefDeserializer(WorkflowPropertySource context) {
47
46
@ Override
48
47
public SubFlowRef deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
49
48
50
- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
51
49
JsonNode node = jp .getCodec ().readTree (jp );
52
50
53
51
SubFlowRef subflowRef = new SubFlowRef ();
You can’t perform that action at this time.
0 commit comments