diff --git a/src/main/java/org/cyclonedx/util/deserializer/InputTypeDeserializer.java b/src/main/java/org/cyclonedx/util/deserializer/InputTypeDeserializer.java index 06b721336..0f5a78252 100644 --- a/src/main/java/org/cyclonedx/util/deserializer/InputTypeDeserializer.java +++ b/src/main/java/org/cyclonedx/util/deserializer/InputTypeDeserializer.java @@ -33,8 +33,6 @@ public class InputTypeDeserializer extends AbstractDataTypeDeserializer { - private final EnvVariableChoiceDeserializer envVariableDeserializer = new EnvVariableChoiceDeserializer(); - @Override public InputType deserialize(JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException @@ -45,7 +43,7 @@ public InputType deserialize(JsonParser jsonParser, DeserializationContext deser setReference(node, "source", inputType); setReference(node, "target", inputType); - createInputDataInfo(node, inputType, deserializationContext, jsonParser); + createInputDataInfo(node, inputType); if(node.has("properties")) { JsonNode propertiesNode = node.get("properties"); @@ -56,7 +54,7 @@ public InputType deserialize(JsonParser jsonParser, DeserializationContext deser return inputType; } - private void createInputDataInfo(JsonNode node, InputType inputType, DeserializationContext ctxt, JsonParser jsonParser) + private void createInputDataInfo(JsonNode node, InputType inputType) throws IOException { if (node.has("resource")) {