Skip to content

Commit

Permalink
more reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shubha-rajan committed Nov 1, 2022
1 parent ace1c22 commit 0012692
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.reactivestreams.Publisher;

/**
* * {@link ConnectionFactory} for accessing Cloud SQL instances via R2DBC protocol.
* * {@link ConnectionFactory} for accessing Cloud SQL instances via R2DBC protocol.
*/
public class CloudSqlConnectionFactory implements ConnectionFactory {

Expand Down Expand Up @@ -60,7 +60,7 @@ public Publisher<? extends Connection> create() {
}

@Override
public ConnectionFactoryMetadata getMetadata() {
public ConnectionFactoryMetadata getMetadata() {
try {
return getConnectionFactory().getMetadata();
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public ConnectionFactory create(ConnectionFactoryOptions connectionFactoryOption
}
}

private ConnectionFactory createFactory (
ConnectionFactoryOptions connectionFactoryOptions) throws IOException{
private ConnectionFactory createFactory(
ConnectionFactoryOptions connectionFactoryOptions) throws IOException {
String connectionName = (String) connectionFactoryOptions.getRequiredValue(HOST);
String socket = (String) connectionFactoryOptions.getValue(UNIX_SOCKET);

Expand All @@ -122,7 +122,6 @@ private ConnectionFactory createFactory (

Builder optionBuilder = createBuilder(connectionFactoryOptions);


// Precompute SSL Data to trigger the initial refresh to happen immediately,
// and ensure enableIAMAuth is set correctly.
CoreSocketFactory.getSslData(connectionName, enableIamAuth);
Expand Down

0 comments on commit 0012692

Please sign in to comment.