Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/checkstyle/checkstyle-suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
<suppress files="[\\/]MysqlConnectorJDataSourceHelper\.java" checks="IllegalImport"/>
<suppress files="[\\/]PgDataSourceHelper\.java" checks="IllegalImport"/>
<suppress files="[\\/]test[\\/]" checks="IllegalImport"/>
<suppress files="[\\/]ExtendedFormatter\.java" checks="Header"/>
</suppressions>
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ public Connection connect(
final @NonNull Properties props)
throws SQLException {

final Properties copy = PropertyUtils.copyProperties(props);
final ConnectInfo connectInfo =
this.targetDriverDialect.prepareConnectInfo(protocol, hostSpec, props);
this.targetDriverDialect.prepareConnectInfo(protocol, hostSpec, copy);

LOGGER.finest(() -> "Connecting to " + connectInfo.url
+ PropertyUtils.logProperties(connectInfo.props, "\nwith properties: \n"));
Expand Down