Skip to content

Commit

Permalink
Added missing CheckReturnValue annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtSilvio committed Mar 13, 2020
1 parent 00006cb commit cb2f0d5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public interface MqttClientTransportConfigBuilderBase<B extends MqttClientTransp
* @return the builder.
* @since 1.2
*/
@CheckReturnValue
@NotNull B localAddress(@Nullable InetSocketAddress address);

/**
Expand All @@ -90,6 +91,7 @@ public interface MqttClientTransportConfigBuilderBase<B extends MqttClientTransp
* @return the builder.
* @since 1.2
*/
@CheckReturnValue
@NotNull B localAddress(@Nullable String address);

/**
Expand All @@ -99,6 +101,7 @@ public interface MqttClientTransportConfigBuilderBase<B extends MqttClientTransp
* @return the builder.
* @since 1.2
*/
@CheckReturnValue
@NotNull B localAddress(@Nullable InetAddress address);

/**
Expand All @@ -108,6 +111,7 @@ public interface MqttClientTransportConfigBuilderBase<B extends MqttClientTransp
* @return the builder.
* @since 1.2
*/
@CheckReturnValue
@NotNull B localPort(int port);

/**
Expand Down

0 comments on commit cb2f0d5

Please sign in to comment.