From 3891ecf05e6ddc79ab447c52882881b7fc205dad Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Thu, 21 Oct 2021 14:53:39 +0200 Subject: [PATCH] Make InMemoryRegistrationStorage.logger static final --- .../main/java/demo/webauthn/InMemoryRegistrationStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java b/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java index c3d376852..4fefd3e31 100644 --- a/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java +++ b/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java @@ -49,7 +49,7 @@ public class InMemoryRegistrationStorage implements CredentialRepository { private final Cache> storage = CacheBuilder.newBuilder().maximumSize(1000).expireAfterAccess(1, TimeUnit.DAYS).build(); - private Logger logger = LoggerFactory.getLogger(InMemoryRegistrationStorage.class); + private static final Logger logger = LoggerFactory.getLogger(InMemoryRegistrationStorage.class); //////////////////////////////////////////////////////////////////////////////// // The following methods are required by the CredentialRepository interface.