File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
exist-core/src/main/java/org/exist Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ public synchronized void unsubscribe(final UpdateListener listener) {
77
77
* Notify all subscribers that a document has been updated/removed or
78
78
* a new document has been added.
79
79
*
80
- * @param document subscribers are listining to
81
- * @param event that triggers the notify
80
+ * @param document subscribers are listening to
81
+ * @param event the event that triggers the notification
82
82
*/
83
83
public synchronized void notifyUpdate (final DocumentImpl document , final int event ) {
84
84
listeners .keySet ().forEach (listener -> listener .documentUpdated (document , event ));
Original file line number Diff line number Diff line change @@ -3443,7 +3443,7 @@ private static class ContextUpdateListener implements UpdateListener {
3443
3443
*
3444
3444
* The AtomicReference enables us to quickly clear the listeners
3445
3445
* in #unsubscribe() and maintain happens-before integrity whilst
3446
- * unsubcribing them. The CopyOnWriteArrayList allows
3446
+ * unsubscribing them. The CopyOnWriteArrayList allows
3447
3447
* us to add listeners whilst iterating over a snapshot
3448
3448
* of existing iterators in other methods.
3449
3449
*/
You can’t perform that action at this time.
0 commit comments