You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2023/07/09 16:24:51 UTC

[iotdb] branch add-confignode-cpu-metric updated: fix type

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

tanxinyu pushed a commit to branch add-confignode-cpu-metric
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/add-confignode-cpu-metric by this push:
     new 72d7ac81fd9 fix type
72d7ac81fd9 is described below

commit 72d7ac81fd9b0a160fa14577620577a1ba9b8ae4
Author: OneSizeFitQuorum <ta...@apache.org>
AuthorDate: Mon Jul 10 00:24:42 2023 +0800

    fix type
    
    Signed-off-by: OneSizeFitQuorum <ta...@apache.org>
---
 .../src/main/java/org/apache/iotdb/commons/concurrent/ThreadName.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/concurrent/ThreadName.java b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/concurrent/ThreadName.java
index f5ce59b6b5c..6464d6129a3 100644
--- a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/concurrent/ThreadName.java
+++ b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/concurrent/ThreadName.java
@@ -310,7 +310,7 @@ public enum ThreadName {
       new HashSet<>(Arrays.asList(CONFIG_NODE_RECOVER));
 
   private static final Set<ThreadName> configNodeProcedureThreadNames =
-      new HashSet(
+      new HashSet<>(
           Arrays.asList(
               CONFIG_NODE_PROCEDURE_WORKER,
               CONFIG_NODE_WORKER_THREAD_MONITOR,