Skip to content

Commit ad80ad4

Browse files
committed
[doc] Improve javadoc
1 parent 19a4592 commit ad80ad4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exist-core/src/main/java/org/exist/storage/NotificationService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ public synchronized void unsubscribe(final UpdateListener listener) {
7777
* Notify all subscribers that a document has been updated/removed or
7878
* a new document has been added.
7979
*
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
8282
*/
8383
public synchronized void notifyUpdate(final DocumentImpl document, final int event) {
8484
listeners.keySet().forEach(listener -> listener.documentUpdated(document, event));

exist-core/src/main/java/org/exist/xquery/XQueryContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3443,7 +3443,7 @@ private static class ContextUpdateListener implements UpdateListener {
34433443
*
34443444
* The AtomicReference enables us to quickly clear the listeners
34453445
* in #unsubscribe() and maintain happens-before integrity whilst
3446-
* unsubcribing them. The CopyOnWriteArrayList allows
3446+
* unsubscribing them. The CopyOnWriteArrayList allows
34473447
* us to add listeners whilst iterating over a snapshot
34483448
* of existing iterators in other methods.
34493449
*/

0 commit comments

Comments
 (0)