Skip to content

Commit

Permalink
Merge branch 'develop' into release/1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Oct 18, 2021
2 parents b119630 + 194af50 commit 2cf801c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<!-- runtime dependencies -->
<api.version>1.0.0</api.version>
<secret-service.version>1.6.2</secret-service.version>
<secret-service.version>1.7.0</secret-service.version>
<kdewallet.version>1.2.3</kdewallet.version>
<guava.version>31.0-jre</guava.version>
<slf4j.version>1.7.32</slf4j.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public boolean isSupported() {

@Override
public boolean isLocked() {
try (@SuppressWarnings("unused") SimpleCollection keyring = new SimpleCollection()) {
// seems like we're able to access the keyring.
try (SimpleCollection keyring = new SimpleCollection()) {
return keyring.isLocked();
} catch (IOException e) {
return true;
Expand Down

0 comments on commit 2cf801c

Please sign in to comment.