diff options
author | Anton Tananaev <anton@traccar.org> | 2023-10-29 14:08:22 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-10-29 14:08:22 -0700 |
commit | 468a9c22bea1421a5df5513766dd7709f1e05b04 (patch) | |
tree | 361d3f9a1f8a122dd435269bce2be1263d5bf346 /src/main/java | |
parent | 2319e1c707eedd25b3ca88b6ee00f416031d22a3 (diff) | |
download | trackermap-server-468a9c22bea1421a5df5513766dd7709f1e05b04.tar.gz trackermap-server-468a9c22bea1421a5df5513766dd7709f1e05b04.tar.bz2 trackermap-server-468a9c22bea1421a5df5513766dd7709f1e05b04.zip |
Fix lint issue
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/database/OpenIdProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
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<String, Object> discoveryMap = objectMapper.readValue(httpResponse, new TypeReference<>() {}); + Map<String, Object> discoveryMap = objectMapper.readValue(httpResponse, new TypeReference<>() { + }); authUrl = new URI((String) discoveryMap.get("authorization_endpoint")); tokenUrl = new URI((String) discoveryMap.get("token_endpoint")); |