nastra commented on code in PR #6629: URL: https://github.com/apache/iceberg/pull/6629#discussion_r1082177976
########## core/src/main/java/org/apache/iceberg/rest/auth/OAuth2Util.java: ########## @@ -329,14 +329,14 @@ static Long expiresAtMillis(String token) { return null; } - String[] parts = token.split("\\."); - if (parts.length != 3) { + List<String> parts = Splitter.on('.').splitToList(token); Review Comment: nit: should we extract this to a `private static final Splitter DOT_SPLITTER`? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org