Skip to content

Commit

Permalink
Changed according to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pbulawa committed Mar 22, 2024
1 parent 677bd8a commit 8891612
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ synchronized void fillCachedCredential(SFLoginInput loginInput, String credType)
}

if (cred == null) {
logger.debug("Retrieved %s is null", credType);
logger.debug("Retrieved {} is null", credType);
}

// cred can be null
Expand All @@ -135,7 +135,7 @@ synchronized void fillCachedCredential(SFLoginInput loginInput, String credType)
loginInput.getHostFromServerUrl());
loginInput.setMfaToken(cred);
} else {
logger.debug("Unrecognized type %s for local cached credential", credType);
logger.debug("Unrecognized type {} for local cached credential", credType);
}
return;
}
Expand Down Expand Up @@ -178,7 +178,7 @@ void writeMfaToken(SFLoginInput loginInput, SFLoginOutput loginOutput) throws SF
synchronized void writeTemporaryCredential(SFLoginInput loginInput, String cred, String credType)
throws SFException {
if (Strings.isNullOrEmpty(cred)) {
logger.debug("No %s is given.", credType);
logger.debug("No {} is given.", credType);
return; // no credential
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ private static long fileCreationTime(File targetFile) {
return -1;
}

@SnowflakeJdbcInternalApi
String getCacheFilePath() {
return cacheFile.getAbsolutePath();
}
Expand Down

0 comments on commit 8891612

Please sign in to comment.