Skip to content

Commit 3df80ec

Browse files
authored
chore: Upgrade checkstyle and google-shared-config, fix lint errors. #2086
The latest versions of checkstyle and google-shared-config caused some checkstyle errors. This upgrades the libraries and fixes the errors.
1 parent 00e0b1a commit 3df80ec

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

jdbc/mariadb/src/main/java/com/google/cloud/sql/mariadb/SocketFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class SocketFactory extends ConfigurableSocketFactory {
3838

3939
private Configuration conf;
4040

41+
/** Instantiate a socket factory. */
4142
public SocketFactory() {}
4243

4344
@Override

jdbc/postgres/src/main/java/com/google/cloud/sql/postgres/SocketFactory.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ public SocketFactory(Properties info) {
6161
this.props = info;
6262
}
6363

64+
/**
65+
* Instantiate a socket factory.
66+
*
67+
* @param instanceName the instance name.
68+
*/
6469
@Deprecated
6570
public SocketFactory(String instanceName) {
6671
// Deprecated constructor for converting 'SocketFactoryArg' to 'CloudSqlInstance'

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<groupId>com.google.cloud</groupId>
2828
<artifactId>google-cloud-shared-config</artifactId>
29-
<version>1.11.2</version>
29+
<version>1.12.0</version>
3030
</parent>
3131

3232
<name>Cloud SQL JDBC Socket Factory</name>
@@ -549,7 +549,7 @@
549549
<plugin>
550550
<groupId>org.apache.maven.plugins</groupId>
551551
<artifactId>maven-checkstyle-plugin</artifactId>
552-
<version>3.5.0</version>
552+
<version>3.6.0</version>
553553
<configuration>
554554
<configLocation>google_checks.xml</configLocation>
555555
<logViolationsToConsole>true</logViolationsToConsole>

0 commit comments

Comments
 (0)