zhangxin 1 月之前
父節點
當前提交
b48ae1932d
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      prod-line-imes/src/main/java/com/huaxia/imes/mqtt/MqttConsumerCallBack.java

+ 1 - 4
prod-line-imes/src/main/java/com/huaxia/imes/mqtt/MqttConsumerCallBack.java

@@ -4,9 +4,6 @@ import lombok.extern.slf4j.Slf4j;
 import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
 import org.eclipse.paho.client.mqttv3.MqttCallback;
 import org.eclipse.paho.client.mqttv3.MqttMessage;
-
-import static com.sun.deploy.util.ArrayUtil.arrayToString;
-
 /**
  * @author zx
  * @since 2024年11月13日
@@ -49,7 +46,7 @@ public class MqttConsumerCallBack implements MqttCallback {
     @Override
     public void deliveryComplete(IMqttDeliveryToken iMqttDeliveryToken) {
         log.info("发布完成客户端信息{}", iMqttDeliveryToken.getClient());
-        log.info("发布完成主题信息{}", arrayToString(iMqttDeliveryToken.getTopics()));
+        log.info("发布完成主题信息{}", (Object) iMqttDeliveryToken.getTopics());
         log.info("发布完成消息id{}", iMqttDeliveryToken.getMessageId());
 
     }