@@ -24,8 +24,8 @@ class CouchbaseClientURI {
24
24
private static final String HTTPS_SCHEMA = "couchbases://" ;
25
25
26
26
private static final Set <String > JDBC_KEYS = new HashSet <>(ContainerUtil .map (
27
- Arrays .asList (USER , PASSWORD , ENABLE_SSL , VERIFY_SERVER_CERTIFICATE , DEFAULT_BUCKET ),
28
- key -> key .toLowerCase (Locale .ENGLISH )));
27
+ Arrays .asList (USER , PASSWORD , ENABLE_SSL , VERIFY_SERVER_CERTIFICATE , DEFAULT_BUCKET ),
28
+ key -> key .toLowerCase (Locale .ENGLISH )));
29
29
30
30
private final String connectionString ;
31
31
private final String uri ;
@@ -80,8 +80,7 @@ private void setLoggingLevel(Properties info, Map<String, List<String>> options)
80
80
Level level ;
81
81
try {
82
82
level = Level .parse (logLevel .toUpperCase (Locale .ENGLISH ));
83
- }
84
- catch (IllegalArgumentException e ) {
83
+ } catch (IllegalArgumentException e ) {
85
84
e .printStackTrace ();
86
85
return ;
87
86
}
@@ -118,8 +117,8 @@ ClusterConnection createClusterConnection() throws SQLException {
118
117
ClusterEnvironment environment = builder .build ();
119
118
ClusterConnection clusterConnection = new ClusterConnection (
120
119
Cluster .connect (connectionStringWithSchema , ClusterOptions
121
- .clusterOptions (authenticator )
122
- .environment (environment )
120
+ .clusterOptions (authenticator )
121
+ .environment (environment )
123
122
), environment );
124
123
clusterConnection .initConnection (defaultBucket );
125
124
return clusterConnection ;
@@ -138,7 +137,7 @@ private Authenticator authenticate(ClusterEnvironment.Builder envBuilder) throws
138
137
139
138
SslKeyStoreConfig keyStore = SslKeyStoreConfig .create (SslKeyStoreConfig .Type .KEY_STORE );
140
139
141
- if (userName == null || userName .isEmpty ()) {
140
+ if (userName == null || userName .isEmpty ()) {
142
141
return CertificateAuthenticator .fromKeyStore (
143
142
keyStore .getPath (), keyStore .getPassword (), keyStore .getType ());
144
143
}
0 commit comments