mogui commented on a change in pull request #679:
URL: https://github.com/apache/lucene/pull/679#discussion_r808924539
##########
File path: lucene/monitor/src/java/org/apache/lucene/monitor/Monitor.java
##########
@@ -125,14 +108,21 @@ public Monitor(Analyzer analyzer, Presearcher
presearcher, MonitorConfiguration
* Monitor's queryindex
*
* @param listener listener to register
+ * @throws IllegalStateException when Monitor is readonly
*/
public void addQueryIndexUpdateListener(MonitorUpdateListener listener) {
- listeners.add(listener);
Review comment:
yes better
--
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]