提交 e8738c62 编写于 作者: 浅梦2013's avatar 浅梦2013

代码优化

上级 599909e8
......@@ -16,7 +16,6 @@
package net.dreamlu.iot.mqtt.broker;
import net.dreamlu.iot.mqtt.client.MqttClientTest;
import net.dreamlu.iot.mqtt.codec.ByteBufferUtil;
import net.dreamlu.iot.mqtt.core.client.MqttClient;
import org.slf4j.Logger;
......@@ -28,8 +27,7 @@ import org.slf4j.LoggerFactory;
* @author L.cm
*/
public class DeviceA {
private static final Logger logger = LoggerFactory.getLogger(MqttClientTest.class);
private static final Logger logger = LoggerFactory.getLogger(DeviceA.class);
public static void main(String[] args) {
// 初始化 mqtt 客户端
......
......@@ -16,7 +16,6 @@
package net.dreamlu.iot.mqtt.broker;
import net.dreamlu.iot.mqtt.client.MqttClientTest;
import net.dreamlu.iot.mqtt.codec.ByteBufferUtil;
import net.dreamlu.iot.mqtt.core.client.MqttClient;
import org.slf4j.Logger;
......@@ -28,8 +27,7 @@ import org.slf4j.LoggerFactory;
* @author L.cm
*/
public class DeviceB {
private static final Logger logger = LoggerFactory.getLogger(MqttClientTest.class);
private static final Logger logger = LoggerFactory.getLogger(DeviceB.class);
public static void main(String[] args) {
// 初始化 mqtt 客户端
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册