zhangxin hace 1 mes
padre
commit
b48ae1932d

+ 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());
 
     }