Skip to content

Commit

Permalink
Remove unused fields
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Alzate <aalzate@sonatype.com>
  • Loading branch information
mr-zepol committed May 29, 2024
1 parent 888e868 commit 82d3fb6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

public class InputTypeDeserializer extends AbstractDataTypeDeserializer<InputType> {

private final EnvVariableChoiceDeserializer envVariableDeserializer = new EnvVariableChoiceDeserializer();

@Override
public InputType deserialize(JsonParser jsonParser, DeserializationContext deserializationContext)
throws IOException
Expand All @@ -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");
Expand All @@ -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")) {
Expand Down

0 comments on commit 82d3fb6

Please sign in to comment.