Skip to content

Commit

Permalink
valerie's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wangweij committed Apr 16, 2024
1 parent 33f9f59 commit 178eb16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ synchronized void init(PrincipalName principal)

synchronized void load() throws IOException, KrbException {
try (FileInputStream fis = new FileInputStream(localCacheName);
CCacheInputStream cis = new CCacheInputStream(fis)) {
CCacheInputStream cis = new CCacheInputStream(fis)) {
version = cis.readVersion();
if (version == KRB5_FCC_FVNO_4) {
tag = cis.readTag();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ public int run(String[] args) {
CredentialsCache cc = CredentialsCache.getInstance();
target = cc;
name = cc.cacheName();
} else
} else {
target = CredentialsCache.getInstance(name);

}
if (target != null) {
return displayCache();
} else {
Expand Down

0 comments on commit 178eb16

Please sign in to comment.