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


##########
core/src/main/java/org/apache/iceberg/rest/auth/OAuth2Util.java:
##########
@@ -542,30 +545,48 @@ public Pair<Integer, TimeUnit> refresh(RESTClient client) 
{
       return null;
     }
 
-    private OAuthTokenResponse refreshCurrentToken(RESTClient client) {
+    private record TimedTokenResponse(long requestStartMillis, 
OAuthTokenResponse response) {

Review Comment:
   can you please move methods in a way so that they don't cause unnecessary 
diffs?



-- 
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