src/share/classes/com/sun/jndi/ldap/EventQueue.java

Print this page
rev 10430 : imported patch typos

@@ -73,11 +73,11 @@
     // package private;
     /**
      * Enqueue an event.
      * @param event Either a <tt>NamingExceptionEvent</tt> or a subclass
      *              of <tt>NamingEvent</tt> or
-     * <tt>UnsolicitedNotificatoniEvent</tt>.
+     * <tt>UnsolicitedNotificationEvent</tt>.
      * If it is a subclass of <tt>NamingEvent</tt>, all listeners must implement
      * the corresponding subinterface of <tt>NamingListener</tt>.
      * For example, for a <tt>ObjectAddedEvent</tt>, all listeners <em>must</em>
      * implement the <tt>ObjectAddedListener</tt> interface.
      * <em>The current implementation does not check this before dispatching

@@ -139,11 +139,11 @@
                     // Dispatch to corresponding NamingListener
                     // The listener should only be getting the event that
                     // it is interested in. (No need to check mask or
                     // instanceof subinterfaces.)
                     // It is the responsibility of the enqueuer to
-                    // only enqueue events with listseners of the correct type.
+                    // only enqueue events with listeners of the correct type.
 
                     if (e instanceof NamingEvent) {
                         ((NamingEvent)e).dispatch(v.elementAt(i));
 
                     // An exception occurred: if notify all naming listeners