dan-s1 commented on code in PR #11258:
URL: https://github.com/apache/nifi/pull/11258#discussion_r3260912886
##########
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcService.java:
##########
@@ -296,4 +298,16 @@ private boolean timeConstantEqualityCheck(final String
value1, final String valu
return MessageDigest.isEqual(value1.getBytes(StandardCharsets.UTF_8),
value2.getBytes(StandardCharsets.UTF_8));
}
+
+ private Duration getDuration(long duration, TimeUnit unit) {
Review Comment:
Great point! I did not realize that existed.
I assume with this, the rest of the comments are OBE as I no longer need
the `getDuration` method.
--
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]