mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Do not declare local variables as final
Per https://github.com/bisq-network/style/issues/11
This commit is contained in:
parent
3fba97cefc
commit
6490e97df2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user