Skip to content

Commit 889dcc1

Browse files
committed
Checkstyle fixes.
1 parent 099b6ce commit 889dcc1

File tree

17 files changed

+39
-16
lines changed

17 files changed

+39
-16
lines changed

iot/api/README.md renamed to iot/api-client/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Cloud IoT Core NodeJS Samples
2-
This folder contains NodeJS samples that demonstrate an overview of the
1+
# Cloud IoT Core Java Samples
2+
This folder contains Java samples that demonstrate an overview of the
33
Google Cloud IoT Core platform.
44

55
## Quickstart
File renamed without changes.
File renamed without changes.

iot/api/manager/pom.xml renamed to iot/api-client/manager/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@
2323
<name>cloudiot-manager-demo</name>
2424
<url>http://maven.apache.org</url>
2525

26+
<!-- Parent defines config for testing & linting. -->
27+
<parent>
28+
<artifactId>doc-samples</artifactId>
29+
<groupId>com.google.cloud</groupId>
30+
<version>1.0.0</version>
31+
<relativePath>../../../</relativePath>
32+
</parent>
33+
2634
<!-- Start local repo -->
2735
<repositories>
2836
<!-- Use a local directory for the Cloud IoT Core API dependency. -->

iot/api/manager/src/main/java/com/google/cloud/iot/examples/DeviceRegistryExample.java renamed to iot/api-client/manager/src/main/java/com/google/cloud/iot/examples/DeviceRegistryExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import com.google.api.services.cloudiot.v1beta1.model.NotificationConfig;
3131
import com.google.api.services.cloudiot.v1beta1.model.PublicKeyCredential;
3232
import com.google.common.io.Files;
33+
3334
import java.io.File;
3435
import java.io.IOException;
3536
import java.security.GeneralSecurityException;

iot/api/manager/src/main/java/com/google/cloud/iot/examples/DeviceRegistryExampleOptions.java renamed to iot/api-client/manager/src/main/java/com/google/cloud/iot/examples/DeviceRegistryExampleOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import org.apache.commons.cli.Options;
2121
import org.apache.commons.cli.ParseException;
2222

23-
/** Command line options for the Device Manager example */
23+
/** Command line options for the Device Manager example. */
2424
public class DeviceRegistryExampleOptions {
2525
String projectId;
2626
String pubsubTopic;
@@ -29,7 +29,7 @@ public class DeviceRegistryExampleOptions {
2929
String cloudRegion = "us-central1";
3030

3131
/** Construct an DeviceRegistryExampleOptions class from command line flags. */
32-
public static DeviceRegistryExampleOptions fromFlags(String args[]) {
32+
public static DeviceRegistryExampleOptions fromFlags(String[] args) {
3333
Options options = new Options();
3434
// Required arguments
3535
options.addOption(

iot/api/manager/src/main/java/com/google/cloud/iot/examples/RetryHttpInitializerWrapper.java renamed to iot/api-client/manager/src/main/java/com/google/cloud/iot/examples/RetryHttpInitializerWrapper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import com.google.api.client.util.ExponentialBackOff;
2424
import com.google.api.client.util.Sleeper;
2525
import com.google.common.base.Preconditions;
26+
2627
import java.io.IOException;
2728
import java.util.logging.Logger;
2829

0 commit comments

Comments
 (0)