Skip to content

Commit 4d70088

Browse files
committed
fix
1 parent c6d1170 commit 4d70088

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/server/OpcUaServerBuilder.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
package org.apache.iotdb.db.pipe.sink.protocol.opcua.server;
2121

22-
import org.apache.iotdb.commons.pipe.config.constant.PipeSinkConstant;
2322
import org.apache.iotdb.pipe.api.exception.PipeException;
2423

2524
import org.eclipse.milo.opcua.sdk.server.OpcUaServer;
@@ -86,15 +85,6 @@ public class OpcUaServerBuilder implements Closeable {
8685
private boolean enableAnonymousAccess;
8786
private DefaultTrustListManager trustListManager;
8887

89-
public OpcUaServerBuilder() {
90-
tcpBindPort = PipeSinkConstant.CONNECTOR_OPC_UA_TCP_BIND_PORT_DEFAULT_VALUE;
91-
httpsBindPort = PipeSinkConstant.CONNECTOR_OPC_UA_HTTPS_BIND_PORT_DEFAULT_VALUE;
92-
user = PipeSinkConstant.CONNECTOR_IOTDB_USER_DEFAULT_VALUE;
93-
password = PipeSinkConstant.CONNECTOR_IOTDB_PASSWORD_DEFAULT_VALUE;
94-
securityDir = Paths.get(PipeSinkConstant.CONNECTOR_OPC_UA_SECURITY_DIR_DEFAULT_VALUE);
95-
enableAnonymousAccess = PipeSinkConstant.CONNECTOR_OPC_UA_ENABLE_ANONYMOUS_ACCESS_DEFAULT_VALUE;
96-
}
97-
9888
public OpcUaServerBuilder setTcpBindPort(final int tcpBindPort) {
9989
this.tcpBindPort = tcpBindPort;
10090
return this;

0 commit comments

Comments
 (0)