tabish121 commented on code in PR #6258:
URL: https://github.com/apache/artemis/pull/6258#discussion_r2878783484
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/security/impl/SecurityStoreImpl.java:
##########
@@ -95,6 +99,12 @@ public class SecurityStoreImpl implements SecurityStore,
HierarchicalRepositoryC
private static final AtomicLongFieldUpdater<SecurityStoreImpl>
AUTHORIZATION_FAILURE_COUNT_UPDATER =
AtomicLongFieldUpdater.newUpdater(SecurityStoreImpl.class,
"authorizationFailureCount");
private volatile long authorizationFailureCount;
+ private static final MessageDigest SHA256;
Review Comment:
This could probably just be ` private static final MessageDigest SHA256 =
getDigestInstance();` now that you've moved everything into a static method. No
need for that static block initializer now.
--
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]