< prev index next >

src/java.naming/share/classes/javax/naming/ldap/UnsolicitedNotificationEvent.java

Print this page

        

@@ -47,11 +47,11 @@
      * @serial
      */
     private UnsolicitedNotification notice;
 
     /**
-     * Constructs a new instance of <tt>UnsolicitedNotificationEvent</tt>.
+     * Constructs a new instance of {@code UnsolicitedNotificationEvent}.
      *
      * @param src The non-null source that fired the event.
      * @param notice The non-null unsolicited notification.
      */
     public UnsolicitedNotificationEvent(Object src,

@@ -69,14 +69,14 @@
     public UnsolicitedNotification getNotification() {
         return notice;
     }
 
     /**
-     * Invokes the <tt>notificationReceived()</tt> method on
+     * Invokes the {@code notificationReceived()} method on
      * a listener using this event.
      * @param listener The non-null listener on which to invoke
-     * <tt>notificationReceived</tt>.
+     *        {@code notificationReceived}.
      */
     public void dispatch(UnsolicitedNotificationListener listener) {
         listener.notificationReceived(this);
     }
 
< prev index next >