nastra commented on code in PR #18910:
URL: https://github.com/apache/iceberg/pull/18910#discussion_r4643479512


##########
core/src/main/java/org/apache/iceberg/rest/auth/OAuth2Util.java:
##########
@@ -499,7 +499,9 @@ public static AuthSession empty() {
      */
     public Pair<Integer, TimeUnit> refresh(RESTClient client) {
       if (token() != null && config.keepRefreshed()) {
-        AtomicReference<OAuthTokenResponse> ref = new AtomicReference<>(null);
+        // keep the time each request was sent, so that an expiry derived from 
expires_in counts

Review Comment:
   I don't think we need this comment here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to