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 2727 <dependency >
2828 <groupId >com.fasterxml.jackson.core</groupId >
2929 <artifactId >jackson-core</artifactId >
30+ <version >[2.13.0,)</version >
3031 </dependency >
3132 <dependency >
3233 <groupId >com.fasterxml.jackson.core</groupId >
3334 <artifactId >jackson-databind</artifactId >
35+ <version >[2.13.0,)</version >
3436 </dependency >
3537 <dependency >
3638 <groupId >com.fasterxml.jackson.dataformat</groupId >
3739 <artifactId >jackson-dataformat-yaml</artifactId >
40+ <version >[2.13.0,)</version >
3841 </dependency >
3942 <dependency >
4043 <groupId >javax.validation</groupId >
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ public ConstantsDeserializer(WorkflowPropertySource context) {
5353 @ Override
5454 public Constants deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
5555
56- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
5756 JsonNode node = jp .getCodec ().readTree (jp );
5857
5958 Constants constants = new Constants ();
Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ public SecretsDeserializer(WorkflowPropertySource context) {
5454
5555 @ Override
5656 public Secrets deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
57- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
5857 JsonNode node = jp .getCodec ().readTree (jp );
5958
6059 Secrets secrets = new Secrets ();
Original file line number Diff line number Diff line change 1818import com .fasterxml .jackson .core .JsonParser ;
1919import com .fasterxml .jackson .databind .DeserializationContext ;
2020import com .fasterxml .jackson .databind .JsonNode ;
21- import com .fasterxml .jackson .databind .ObjectMapper ;
2221import com .fasterxml .jackson .databind .deser .std .StdDeserializer ;
2322import io .serverlessworkflow .api .functions .SubFlowRef ;
2423import io .serverlessworkflow .api .interfaces .WorkflowPropertySource ;
@@ -47,7 +46,6 @@ public SubFlowRefDeserializer(WorkflowPropertySource context) {
4746 @ Override
4847 public SubFlowRef deserialize (JsonParser jp , DeserializationContext ctxt ) throws IOException {
4948
50- ObjectMapper mapper = (ObjectMapper ) jp .getCodec ();
5149 JsonNode node = jp .getCodec ().readTree (jp );
5250
5351 SubFlowRef subflowRef = new SubFlowRef ();
You can’t perform that action at this time.
0 commit comments