Skip to content

Commit d1fe54e

Browse files
committed
fix(core): remove deprecated lombok.var import
1 parent f893368 commit d1fe54e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

core/src/main/java/io/github/simpleauth0/core/jose/key/FileRsaKeyLoader.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import io.github.simpleauth0.core.SimpleAuth0Properties;
44
import io.github.simpleauth0.core.utils.PemUtils;
55
import lombok.extern.slf4j.Slf4j;
6-
import lombok.var;
76

87
import java.security.interfaces.RSAPrivateKey;
98
import java.security.interfaces.RSAPublicKey;
@@ -28,7 +27,7 @@ public boolean supports(KeySource source) {
2827

2928
@Override
3029
public RSAPrivateKey loadPrivateKey() {
31-
var location = properties.getToken().getJwt().getFile().getPrivateKeyLocation();
30+
String location = properties.getToken().getJwt().getFile().getPrivateKeyLocation();
3231
try {
3332
return PemUtils.loadPrivateKey(location);
3433
} catch (Exception e) {
@@ -39,7 +38,7 @@ public RSAPrivateKey loadPrivateKey() {
3938

4039
@Override
4140
public RSAPublicKey loadPublicKey() {
42-
var location = properties.getToken().getJwt().getFile().getPublicKeyLocation();
41+
String location = properties.getToken().getJwt().getFile().getPublicKeyLocation();
4342
try {
4443
return PemUtils.loadPublicKey(location);
4544
} catch (Exception e) {

0 commit comments

Comments
 (0)