Skip to content

Commit

Permalink
Fix trailing whitespaces in documentation comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Jan 9, 2018
1 parent 37347c8 commit 02b3874
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/main/java/cool/mqtt/hooks/MqttConnectOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* A wrapper of the connection parameters actually used by the MQTT.Cool server while
* establishing the <i>end-to-end</i> connection between the client and the target MQTT broker.
*
*
* <p>The client may specify the following options on its behalf:
* <ul>
* <li>{@code username} and {@code password} used for authenticating the client: if provided, they
Expand All @@ -21,44 +21,43 @@ public interface MqttConnectOptions {

/**
* Gets the {@code username} to be used for authenticating with the target MQTT broker.
*
*
* @return the {@code username}, or {@code null} if no credential is provided
*/
String getUsername();

/**
* Gets the {@code password} to be used for authenticating with the target MQTT broker.
*
*
* @return the {@code password}, or {@code null} if no credential is provided
*/
String getPassword();

/**
* Gets the connection timeout expressed in seconds.
*
*
* @return the connection timeout expressed in seconds
*/
int getConnectionTimeout();

/**
* Gets the keep alive interval expressed in seconds.
*
*
* @return the keep alive interval expressed in seconds
*/
int getKeepAlive();

/**
* Gets the {@code Will Message} to be stored by the MQTT broker.
*
* @return the {@code Will Message} to be stored by the MQTT broker if any, otherwise {@code null}
*
* @return the {@code Will Message} to be stored by the MQTT broker if any, or {@code null}
*/
MqttMessage getWillMessage();

/**
* Gets the <i>clean session</i> flag specified by the client on connection establishment.
*
* @return {@code true} if the client does not want to make the Session persistent, {@code false}
* otherwise
*
* @return {@code true} if the client does not want to make the Session persistent
*/
boolean isCleanSession();

Expand Down

0 comments on commit 02b3874

Please sign in to comment.