You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ju...@apache.org on 2025/12/17 07:50:51 UTC

(iotdb) branch opc-ua updated: Update OpcUaNameSpace.java

This is an automated email from the ASF dual-hosted git repository.

justinchen pushed a commit to branch opc-ua
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/opc-ua by this push:
     new bf4bd9a8239 Update OpcUaNameSpace.java
bf4bd9a8239 is described below

commit bf4bd9a823980e4cee5c418179a030dfc4f447c0
Author: Caideyipi <87...@users.noreply.github.com>
AuthorDate: Wed Dec 17 15:50:41 2025 +0800

    Update OpcUaNameSpace.java
---
 .../apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
index 0e40f880f4f..78d776b4d1d 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaNameSpace.java
@@ -72,8 +72,7 @@ public class OpcUaNameSpace extends ManagedNamespaceWithLifecycle {
   private final SubscriptionModel subscriptionModel;
   private final OpcUaServerBuilder builder;
 
-  OpcUaNameSpace(
-      final OpcUaServer server, final OpcUaServerBuilder builder) {
+  OpcUaNameSpace(final OpcUaServer server, final OpcUaServerBuilder builder) {
     super(server, NAMESPACE_URI);
     this.builder = builder;
 
@@ -145,7 +144,8 @@ public class OpcUaNameSpace extends ManagedNamespaceWithLifecycle {
         folderSegments[0] = sink.unQualifiedDatabaseName;
 
         for (int j = 0; j < segments.length; ++j) {
-          folderSegments[j + 1] = Objects.isNull(segments[j]) ? sink.placeHolder : (String) segments[j];
+          folderSegments[j + 1] =
+              Objects.isNull(segments[j]) ? sink.placeHolder : (String) segments[j];
         }
 
         final int finalI = i;