diff --git a/src/main/java/cool/mqtt/hooks/MqttBrokerConfig.java b/src/main/java/cool/mqtt/hooks/MqttBrokerConfig.java index 7362426..d5982f9 100644 --- a/src/main/java/cool/mqtt/hooks/MqttBrokerConfig.java +++ b/src/main/java/cool/mqtt/hooks/MqttBrokerConfig.java @@ -6,7 +6,7 @@ * *
The Hook is expected to supply an instance of {@code MqttBrokerConfig} (through an invocation * of {@link MQTTCoolHook#resolveAlias(String)}) if no static entries have been provided in the - * mqtt_master_connector_conf.xml file for a given connection alias. + * {@code mqtt_master_connector_conf.xml} file for a given connection alias. * *
The configuration is made up of: *
If the MQTT broker does not require authentication, this method should return a {@code null} - * value. Empty or blank values will be provided as is in the CONNECT Control + * value. Empty or blank values will be provided as is in the {@code CONNECT} Control * Packet built to connect to the broker. * *
Note that the {@code username} which may be provided by the client will take precedence over @@ -101,7 +101,7 @@ public interface MqttBrokerConfig { * *
As for {@link #getUsername()}, this method should returns {@code null} value in the case of * unauthenticated access. Empty or blank values will be provided as is in the - * CONNECT Control Packet built to connect to the broker. + * {@code CONNECT} Control Packet built to connect to the broker. * *
Note that the {@code password} which may be provided by the client will take precedence over * the one returned by this method. diff --git a/src/main/java/cool/mqtt/hooks/MqttConnectOptions.java b/src/main/java/cool/mqtt/hooks/MqttConnectOptions.java index c6cee61..12966f1 100644 --- a/src/main/java/cool/mqtt/hooks/MqttConnectOptions.java +++ b/src/main/java/cool/mqtt/hooks/MqttConnectOptions.java @@ -8,12 +8,12 @@ *