Skip to content

Commit

Permalink
add maxBatchSize to toString, equals and hashCode
Browse files Browse the repository at this point in the history
Signed-off-by: garyschulte <[email protected]>
  • Loading branch information
garyschulte committed Feb 17, 2023
1 parent 10a0e19 commit 14b00c6
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public String toString() {
.add("tlsConfiguration", tlsConfiguration)
.add("httpTimeoutSec", httpTimeoutSec)
.add("maxActiveConnections", maxActiveConnections)
.add("maxBatchSize", maxBatchSize)
.toString();
}

Expand All @@ -228,7 +229,8 @@ public boolean equals(final Object o) {
&& Objects.equals(rpcApis, that.rpcApis)
&& Objects.equals(hostsAllowlist, that.hostsAllowlist)
&& Objects.equals(authenticationCredentialsFile, that.authenticationCredentialsFile)
&& Objects.equals(authenticationPublicKeyFile, that.authenticationPublicKeyFile);
&& Objects.equals(authenticationPublicKeyFile, that.authenticationPublicKeyFile)
&& Objects.equals(maxBatchSize, that.maxBatchSize);
}

@Override
Expand All @@ -242,7 +244,8 @@ public int hashCode() {
hostsAllowlist,
authenticationEnabled,
authenticationCredentialsFile,
authenticationPublicKeyFile);
authenticationPublicKeyFile,
maxBatchSize);
}

public int getMaxActiveConnections() {
Expand Down

0 comments on commit 14b00c6

Please sign in to comment.