uschindler commented on code in PR #12301:
URL: https://github.com/apache/lucene/pull/12301#discussion_r1224919504
##########
lucene/core/src/java/org/apache/lucene/util/NamedSPILoader.java:
##########
@@ -116,9 +116,9 @@ public S lookup(String name) {
+ ((System.getSecurityManager() == null)
Review Comment:
please move this to a separate method `hasSecurityManager() { return
System.getSecurityManager() != null; }` with all the `@Suppress*` annotations.
--
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]