From 2b9fa098320853ccb97c3dbd4bc2cc38e3c34659 Mon Sep 17 00:00:00 2001 From: Ahmad El-Melegy Date: Sat, 28 Dec 2019 13:21:40 +0200 Subject: [PATCH] Fix `Using access tokens` snippet in the readme The snippet code in the `Using access tokens` section didn't follow java code formatting. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 97acb793..c6e53970 100644 --- a/README.md +++ b/README.md @@ -404,7 +404,7 @@ server. This can be done directly, by extracting the access token from a token response. However, in most cases, it is simpler to use the `performActionWithFreshTokens` utility method provided by AuthState: -``` +```java authState.performActionWithFreshTokens(service, new AuthStateAction() { @Override public void execute( String accessToken,