This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch ssl_between_nodes in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit b015dca7799c0a6bac95b995f32deca85b4978e0 Author: HTHou <hao...@apache.org> AuthorDate: Thu Jul 17 18:26:19 2025 +0800 fix wrong trust store name --- .../src/main/java/org/apache/iotdb/session/Session.java | 8 ++++---- .../java/org/apache/iotdb/session/TableSessionBuilder.java | 12 ++++++------ .../main/java/org/apache/iotdb/session/pool/SessionPool.java | 8 ++++---- .../apache/iotdb/session/pool/TableSessionPoolBuilder.java | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java index da3185e51f8..288c9f2b66a 100644 --- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java +++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java @@ -4305,13 +4305,13 @@ public class Session implements ISession { return this; } - public Builder trustStore(String keyStore) { - this.trustStore = keyStore; + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; return this; } - public Builder trustStorePwd(String keyStorePwd) { - this.trustStorePwd = keyStorePwd; + public Builder trustStorePwd(String trustStorePwd) { + this.trustStorePwd = trustStorePwd; return this; } diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java index a46de6562ea..104801735d2 100644 --- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java +++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/TableSessionBuilder.java @@ -213,24 +213,24 @@ public class TableSessionBuilder extends AbstractSessionBuilder { /** * Sets the trust store path for SSL connections. * - * @param keyStore the trust store path. + * @param trustStore the trust store path. * @return the current {@link TableSessionBuilder} instance. * @defaultValue null */ - public TableSessionBuilder trustStore(String keyStore) { - this.trustStore = keyStore; + public TableSessionBuilder trustStore(String trustStore) { + this.trustStore = trustStore; return this; } /** * Sets the trust store password for SSL connections. * - * @param keyStorePwd the trust store password. + * @param trustStorePwd the trust store password. * @return the current {@link TableSessionBuilder} instance. * @defaultValue null */ - public TableSessionBuilder trustStorePwd(String keyStorePwd) { - this.trustStorePwd = keyStorePwd; + public TableSessionBuilder trustStorePwd(String trustStorePwd) { + this.trustStorePwd = trustStorePwd; return this; } diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java index 1ed3d7a8531..0f08c2036cc 100644 --- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java +++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java @@ -3598,13 +3598,13 @@ public class SessionPool implements ISessionPool { return this; } - public Builder trustStore(String keyStore) { - this.trustStore = keyStore; + public Builder trustStore(String trustStore) { + this.trustStore = trustStore; return this; } - public Builder trustStorePwd(String keyStorePwd) { - this.trustStorePwd = keyStorePwd; + public Builder trustStorePwd(String trustStorePwd) { + this.trustStorePwd = trustStorePwd; return this; } diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java index 4deb9423946..4866c795e9e 100644 --- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java +++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java @@ -255,24 +255,24 @@ public class TableSessionPoolBuilder extends AbstractSessionPoolBuilder { /** * Sets the trust store path for SSL connections. * - * @param keyStore the trust store path. + * @param trustStore the trust store path. * @return the current {@link TableSessionPoolBuilder} instance. * @defaultValue null */ - public TableSessionPoolBuilder trustStore(String keyStore) { - this.trustStore = keyStore; + public TableSessionPoolBuilder trustStore(String trustStore) { + this.trustStore = trustStore; return this; } /** * Sets the trust store password for SSL connections. * - * @param keyStorePwd the trust store password. + * @param trustStorePwd the trust store password. * @return the current {@link TableSessionPoolBuilder} instance. * @defaultValue null */ - public TableSessionPoolBuilder trustStorePwd(String keyStorePwd) { - this.trustStorePwd = keyStorePwd; + public TableSessionPoolBuilder trustStorePwd(String trustStorePwd) { + this.trustStorePwd = trustStorePwd; return this; }