Fixed checkStyle and ErrorProne warns
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package io.moquette.server;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
@@ -150,7 +151,7 @@ public class ServerIntegrationSSLTest {
|
||||
MqttConnectOptions secondClientOptions = new MqttConnectOptions();
|
||||
secondClientOptions.setSocketFactory(ssf);
|
||||
secondClient.connect(secondClientOptions);
|
||||
secondClient.publish("/topic", new MqttMessage("message".getBytes()));
|
||||
secondClient.publish("/topic", new MqttMessage("message".getBytes(UTF_8)));
|
||||
secondClient.disconnect();
|
||||
|
||||
m_client.disconnect();
|
||||
|
||||
Reference in New Issue
Block a user