Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
averikitsch committed Jul 25, 2019
1 parent bc8765c commit 3656a85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
*
* $ mvn exec:java \
* -Dexec.mainClass="com.example.cloud.iot.endtoend.CloudiotPubsubExampleMqttDevice" \
* -Dexec.args="-project_id=<your-iot-project> \
* -registry_id=<your-registry-id> \
* -device_id=<device-id> \
* -private_key_file=<path-to-keyfile> \
* -algorithm=<RS256|ES256>"
* -Dexec.args="-project_id=your-iot-project \
* -registry_id=your-registry-id \
* -device_id=device-id \
* -private_key_file=path-to-keyfile \
* -algorithm=RS256|ES256"
* </code> </prev>
*
* <p>With a single server, you can run multiple instances of the device with different device ids,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,22 @@
/**
* Sample server that pushes configuration to Google Cloud IoT devices.
*
* <p>
* This example represents a server that consumes telemetry data from multiple Cloud IoT devices.
* <p>This example represents a server that consumes telemetry data from multiple Cloud IoT devices.
* The devices report telemetry data, which the server consumes from a Cloud Pub/Sub topic. The
* server then decides whether to turn on or off individual devices fans.
* </p>
* <p>
* If you are running this example from a Compute Engine VM, you will have to enable the Cloud
*
* <p>If you are running this example from a Compute Engine VM, you will have to enable the Cloud
* Pub/Sub API for your project, which you can do from the Cloud Console. Create a pubsub topic, for
* example projects/my-project-id/topics/my-topic-name, and a subscription, for example
* projects/my-project-id/subscriptions/my-topic-subscription.
* </p>
* <p>
* You can then run the example with <prev> <code>
*
* <p>You can then run the example with <prev> <code>
* $ mvn clean compile assembly:single
* </p>
*
* $ mvn exec:java \
* -Dexec.mainClass="com.example.cloud.iot.endtoend.CloudiotPubsubExampleServer" \
* -Dexec.args="-project_id=<your-iot-project> \
* -pubsub_subscription=<your-pubsub-subscription"
* -Dexec.args="-project_id=your-iot-project \
* -pubsub_subscription=your-pubsub-subscription"
*
* </code> </prev>
*/
Expand Down

0 comments on commit 3656a85

Please sign in to comment.