From a178c8be6e5738f12ad3149e0e3123411230b273 Mon Sep 17 00:00:00 2001 From: humingfeng Date: Wed, 29 Dec 2021 18:14:45 +0800 Subject: [PATCH] method 'tokenServices()' is never used --- .../java/com/central/oauth/config/TokenGranterConfig.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java b/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java index f34405ad..a4fa0802 100644 --- a/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java +++ b/zlt-uaa/src/main/java/com/central/oauth/config/TokenGranterConfig.java @@ -139,14 +139,6 @@ public class TokenGranterConfig { return tokenGranters; } - private AuthorizationServerTokenServices tokenServices() { - if (tokenServices != null) { - return tokenServices; - } - this.tokenServices = createDefaultTokenServices(); - return tokenServices; - } - private AuthorizationCodeServices authorizationCodeServices() { if (authorizationCodeServices == null) { authorizationCodeServices = new InMemoryAuthorizationCodeServices();