Skip to content

Commit 3656a85

Browse files
committed
fix checkstyle
1 parent bc8765c commit 3656a85

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

iot/api-client/end-to-end-example/src/main/java/com/example/cloud/iot/endtoend/CloudiotPubsubExampleMqttDevice.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
*
5959
* $ mvn exec:java \
6060
* -Dexec.mainClass="com.example.cloud.iot.endtoend.CloudiotPubsubExampleMqttDevice" \
61-
* -Dexec.args="-project_id=<your-iot-project> \
62-
* -registry_id=<your-registry-id> \
63-
* -device_id=<device-id> \
64-
* -private_key_file=<path-to-keyfile> \
65-
* -algorithm=<RS256|ES256>"
61+
* -Dexec.args="-project_id=your-iot-project \
62+
* -registry_id=your-registry-id \
63+
* -device_id=device-id \
64+
* -private_key_file=path-to-keyfile \
65+
* -algorithm=RS256|ES256"
6666
* </code> </prev>
6767
*
6868
* <p>With a single server, you can run multiple instances of the device with different device ids,

iot/api-client/end-to-end-example/src/main/java/com/example/cloud/iot/endtoend/CloudiotPubsubExampleServer.java

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,22 @@
4848
/**
4949
* Sample server that pushes configuration to Google Cloud IoT devices.
5050
*
51-
* <p>
52-
* This example represents a server that consumes telemetry data from multiple Cloud IoT devices.
51+
* <p>This example represents a server that consumes telemetry data from multiple Cloud IoT devices.
5352
* The devices report telemetry data, which the server consumes from a Cloud Pub/Sub topic. The
5453
* server then decides whether to turn on or off individual devices fans.
55-
* </p>
56-
* <p>
57-
* If you are running this example from a Compute Engine VM, you will have to enable the Cloud
54+
*
55+
* <p>If you are running this example from a Compute Engine VM, you will have to enable the Cloud
5856
* Pub/Sub API for your project, which you can do from the Cloud Console. Create a pubsub topic, for
5957
* example projects/my-project-id/topics/my-topic-name, and a subscription, for example
6058
* projects/my-project-id/subscriptions/my-topic-subscription.
61-
* </p>
62-
* <p>
63-
* You can then run the example with <prev> <code>
59+
*
60+
* <p>You can then run the example with <prev> <code>
6461
* $ mvn clean compile assembly:single
65-
* </p>
62+
*
6663
* $ mvn exec:java \
6764
* -Dexec.mainClass="com.example.cloud.iot.endtoend.CloudiotPubsubExampleServer" \
68-
* -Dexec.args="-project_id=<your-iot-project> \
69-
* -pubsub_subscription=<your-pubsub-subscription"
65+
* -Dexec.args="-project_id=your-iot-project \
66+
* -pubsub_subscription=your-pubsub-subscription"
7067
*
7168
* </code> </prev>
7269
*/

0 commit comments

Comments
 (0)