Skip to content

Commit 82d3fb6

Browse files
committed
Remove unused fields
Signed-off-by: Alex Alzate <aalzate@sonatype.com>
1 parent 888e868 commit 82d3fb6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/org/cyclonedx/util/deserializer/InputTypeDeserializer.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333

3434
public class InputTypeDeserializer extends AbstractDataTypeDeserializer<InputType> {
3535

36-
private final EnvVariableChoiceDeserializer envVariableDeserializer = new EnvVariableChoiceDeserializer();
37-
3836
@Override
3937
public InputType deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
4038
throws IOException
@@ -45,7 +43,7 @@ public InputType deserialize(JsonParser jsonParser, DeserializationContext deser
4543
setReference(node, "source", inputType);
4644
setReference(node, "target", inputType);
4745

48-
createInputDataInfo(node, inputType, deserializationContext, jsonParser);
46+
createInputDataInfo(node, inputType);
4947

5048
if(node.has("properties")) {
5149
JsonNode propertiesNode = node.get("properties");
@@ -56,7 +54,7 @@ public InputType deserialize(JsonParser jsonParser, DeserializationContext deser
5654
return inputType;
5755
}
5856

59-
private void createInputDataInfo(JsonNode node, InputType inputType, DeserializationContext ctxt, JsonParser jsonParser)
57+
private void createInputDataInfo(JsonNode node, InputType inputType)
6058
throws IOException
6159
{
6260
if (node.has("resource")) {

0 commit comments

Comments
 (0)