dweiss commented on code in PR #13142:
URL: https://github.com/apache/lucene/pull/13142#discussion_r1505494792
##########
lucene/core/src/java/org/apache/lucene/util/VirtualMethod.java:
##########
@@ -100,7 +98,7 @@ public VirtualMethod(Class<C> baseClass, String method,
Class<?>... parameters)
this.method = method;
this.parameters = parameters;
try {
- if (!singletonSet.add(baseClass.getDeclaredMethod(method, parameters)))
Review Comment:
This isn't enforced, but many people in this project prefer the verbose
comparison instead of the negation - please don't correct this, thanks.
--
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]