Skip to content

Commit

Permalink
Formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-skumbham committed Oct 24, 2023
1 parent d37597e commit 27c1d74
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ protected void initialize(SnowflakeConnectString conStr, String appID, String ap
setClientConfig();
initLogger();
logger.debug(
"Trying to establish session, JDBC driver version: {} : {}", SnowflakeDriver.getImplementationTitle(), SnowflakeDriver.implementVersion);
"Trying to establish session, JDBC driver version: {} : {}",
SnowflakeDriver.getImplementationTitle(),
SnowflakeDriver.implementVersion);
if (!skipOpen) {
sfSession.open();
}
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/net/snowflake/client/jdbc/SnowflakeDriver.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ public static String getDisableArrowResultFormatMessage() {

/**
* Utility method to verify if the standard or fips snowflake-jdbc driver is being used.
*
* @return
*/
public static String getImplementationTitle(){
public static String getImplementationTitle() {
Package pkg = Package.getPackage("net.snowflake.client.jdbc");
return pkg.getImplementationTitle();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ public void shutdown() {
public StorageObjectSummaryCollection listObjects(String remoteStorageLocation, String prefix)
throws StorageProviderException {
try {
logger.debug("Listing objects in the bucket {} with prefix {}", remoteStorageLocation, prefix);
logger.debug(
"Listing objects in the bucket {} with prefix {}", remoteStorageLocation, prefix);
Page<Blob> blobs = this.gcsClient.list(remoteStorageLocation, BlobListOption.prefix(prefix));
return new StorageObjectSummaryCollection(blobs);
} catch (Exception e) {
Expand Down

0 comments on commit 27c1d74

Please sign in to comment.