Skip to content

Commit 5043e6c

Browse files
willmostlyebyhr
andauthored
Update gateway-ha/src/main/java/io/trino/gateway/ha/router/SerializableCallArgument.java
Co-authored-by: Yuya Ebihara <[email protected]>
1 parent 714f415 commit 5043e6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/router/SerializableCallArgument.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public SerializableCallArgument(
4141

4242
public SerializableCallArgument(CallArgument callArgument)
4343
{
44-
this.name = callArgument.getName().map(Identifier::getValue);
45-
this.value = new SerializableExpression(callArgument.getValue());
44+
this(callArgument.getName().map(Identifier::getValue), new SerializableExpression(callArgument.getValue()));
4645
}
4746

4847
@JsonProperty

0 commit comments

Comments
 (0)