From 468a9c22bea1421a5df5513766dd7709f1e05b04 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 29 Oct 2023 14:08:22 -0700 Subject: Fix lint issue --- src/main/java/org/traccar/database/OpenIdProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/org/traccar/database/OpenIdProvider.java b/src/main/java/org/traccar/database/OpenIdProvider.java index 19780c68d..1f5a2f481 100644 --- a/src/main/java/org/traccar/database/OpenIdProvider.java +++ b/src/main/java/org/traccar/database/OpenIdProvider.java @@ -97,7 +97,8 @@ public class OpenIdProvider { String httpResponse = httpClient.send(httpRequest, BodyHandlers.ofString()).body(); - Map discoveryMap = objectMapper.readValue(httpResponse, new TypeReference<>() {}); + Map discoveryMap = objectMapper.readValue(httpResponse, new TypeReference<>() { + }); authUrl = new URI((String) discoveryMap.get("authorization_endpoint")); tokenUrl = new URI((String) discoveryMap.get("token_endpoint")); -- cgit v1.2.3