From 6490e97df231ca3877d81ecd1c5356e2d6b04982 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Thu, 23 Apr 2020 10:03:36 +0200 Subject: [PATCH] Do not declare local variables as final Per https://github.com/bisq-network/style/issues/11 --- .../src/main/java/bisq/core/grpc/AuthenticationInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/grpc/AuthenticationInterceptor.java b/core/src/main/java/bisq/core/grpc/AuthenticationInterceptor.java index 2e16491729..5aed895e39 100644 --- a/core/src/main/java/bisq/core/grpc/AuthenticationInterceptor.java +++ b/core/src/main/java/bisq/core/grpc/AuthenticationInterceptor.java @@ -36,7 +36,7 @@ public class AuthenticationInterceptor implements ServerInterceptor { } private void authenticate(Metadata metadata) { - final String authToken = metadata.get(Key.of("bisqd-creds", ASCII_STRING_MARSHALLER)); + String authToken = metadata.get(Key.of("bisqd-creds", ASCII_STRING_MARSHALLER)); if (authToken == null) { throw new StatusRuntimeException(UNAUTHENTICATED.withDescription("Authentication token is missing")); } else {