diff --git a/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/tokens/TokenManagerImpl.java b/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/tokens/TokenManagerImpl.java index f305eab8b440b4..03abeda931f200 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/tokens/TokenManagerImpl.java +++ b/fe/fe-core/src/main/java/org/apache/doris/service/arrowflight/tokens/TokenManagerImpl.java @@ -37,13 +37,11 @@ public class TokenManagerImpl implements TokenManager { private static final Logger LOG = LogManager.getLogger(TokenManagerImpl.class); private final SecureRandom generator = new SecureRandom(); - private final int cacheSize; private final int cacheExpiration; private LoadingCache tokenCache; public TokenManagerImpl(final int cacheSize, final int cacheExpiration) { - this.cacheSize = cacheSize; this.cacheExpiration = cacheExpiration; this.tokenCache = CacheBuilder.newBuilder() @@ -109,4 +107,5 @@ private SessionState getSessionState(final String token) { } return value; - + } +}