Skip to content

Commit

Permalink
Do not declare local variables as final
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeams committed Apr 23, 2020
1 parent 3fba97c commit 6490e97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall(
}

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 {
Expand Down

0 comments on commit 6490e97

Please sign in to comment.