Skip to content

Commit 18cf8d0

Browse files
committed
improve comments
1 parent 0960bd3 commit 18cf8d0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/software/amazon/awssdk/crt/mqtt/MqttConnectionConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public Consumer<WebsocketHandshakeTransformArgs> getWebsocketHandshakeTransform(
542542
}
543543

544544
/**
545-
* Enables or disables IoT Device SDK metrics collection
545+
* Enables or disables IoT Device SDK metrics collection. The metrics includes SDK name, version, and platform.
546546
*
547547
* @param enabled true to enable metrics, false to disable
548548
*/

src/main/java/software/amazon/awssdk/crt/mqtt5/Mqtt5ClientOptions.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public boolean getMetricsEnabled() {
279279
}
280280

281281
/**
282-
* Enables or disables IoT Device SDK metrics collection
282+
* Enables or disables IoT Device SDK metrics collection. The metrics includes SDK name, version, and platform.
283283
*
284284
* @param enabled true to enable metrics, false to disable
285285
*/
@@ -878,9 +878,9 @@ public Mqtt5ClientOptionsBuilder withTopicAliasingOptions(TopicAliasingOptions o
878878
}
879879

880880
/**
881-
* Enables or disables IoT Device SDK metrics collection
881+
* Enables or disables IoT Device SDK metrics collection. The metrics includes SDK name, version, and platform.
882882
*
883-
* @param enabled true to enable metrics, false to disable
883+
* @param enabled true to enable metrics, false to disable.
884884
* @return The Mqtt5ClientOptionsBuilder after setting the metrics option
885885
*/
886886
public Mqtt5ClientOptionsBuilder withMetricsEnabled(boolean enabled) {

0 commit comments

Comments
 (0)