From 576dc64bd04b7733b5382cc928d696202ce4955a Mon Sep 17 00:00:00 2001 From: chengxiangwang Date: Mon, 11 Feb 2019 23:18:18 +0800 Subject: [PATCH] fix maven-checkstyle error --- .../apache/rocketmq/snode/exception/MqttConnectException.java | 2 +- .../snode/processor/mqtthandler/MqttConnectMessageHandler.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/snode/src/main/java/org/apache/rocketmq/snode/exception/MqttConnectException.java b/snode/src/main/java/org/apache/rocketmq/snode/exception/MqttConnectException.java index e1e3480e..f636842f 100644 --- a/snode/src/main/java/org/apache/rocketmq/snode/exception/MqttConnectException.java +++ b/snode/src/main/java/org/apache/rocketmq/snode/exception/MqttConnectException.java @@ -17,7 +17,7 @@ package org.apache.rocketmq.snode.exception; -public class MqttConnectException extends RuntimeException{ +public class MqttConnectException extends RuntimeException { public MqttConnectException(String message) { super(message); diff --git a/snode/src/main/java/org/apache/rocketmq/snode/processor/mqtthandler/MqttConnectMessageHandler.java b/snode/src/main/java/org/apache/rocketmq/snode/processor/mqtthandler/MqttConnectMessageHandler.java index 82c52165..63c95242 100644 --- a/snode/src/main/java/org/apache/rocketmq/snode/processor/mqtthandler/MqttConnectMessageHandler.java +++ b/snode/src/main/java/org/apache/rocketmq/snode/processor/mqtthandler/MqttConnectMessageHandler.java @@ -151,7 +151,6 @@ public class MqttConnectMessageHandler implements MessageHandler { } private boolean authorized(String username, String password) { - //TODO return true; } -- GitLab