Skip to content

Commit d5c219d

Browse files
author
diego Dupin
committed
[misc] code style correction
1 parent 5b165c7 commit d5c219d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/main/java/org/mariadb/jdbc/Configuration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
import java.sql.DriverManager;
99
import java.sql.SQLException;
1010
import java.util.*;
11-
import java.util.regex.Matcher;
12-
import java.util.regex.Pattern;
1311
import org.mariadb.jdbc.export.HaMode;
1412
import org.mariadb.jdbc.export.SslMode;
1513
import org.mariadb.jdbc.plugin.Codec;

src/main/java/org/mariadb/jdbc/client/impl/StandardClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ private void postConnectionQueries() throws SQLException {
296296
}
297297

298298
if (hostAddress != null
299-
&& !hostAddress.primary
300-
&& context.getVersion().versionGreaterOrEqual(5, 6, 5)) {
299+
&& !hostAddress.primary
300+
&& context.getVersion().versionGreaterOrEqual(5, 6, 5)) {
301301
commands.add("SET SESSION TRANSACTION READ ONLY");
302302
}
303303

src/test/java/org/mariadb/jdbc/integration/ConnectionTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,8 @@ public void localSocket() throws Exception {
941941
stmt.execute("GRANT SELECT on *.* to testSocket IDENTIFIED BY 'heyPassw!µ20§rd'");
942942
stmt.execute("FLUSH PRIVILEGES");
943943

944-
String url = String.format(
944+
String url =
945+
String.format(
945946
"jdbc:mariadb:///%s?user=testSocket&password=heyPassw!µ20§rd&localSocket=%s&tcpAbortiveClose&tcpKeepAlive",
946947
sharedConn.getCatalog(), path);
947948
System.out.println(url);

0 commit comments

Comments
 (0)