User: ejort   
  Date: 02/01/26 07:13:24

  Modified:    src/main/javax/management NotificationFilterSupport.java
  Log:
  
  
  Revision  Changes    Path
  1.2       +2 -0      jmx/src/main/javax/management/NotificationFilterSupport.java
  
  Index: NotificationFilterSupport.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jmx/src/main/javax/management/NotificationFilterSupport.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NotificationFilterSupport.java    2002/01/20 14:32:28     1.1
  +++ NotificationFilterSupport.java    2002/01/26 15:13:23     1.2
  @@ -15,7 +15,7 @@
    * notification types. By default no notifications are enabled.
    * 
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Adrian Brock</a>.
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    *
    */
   public class NotificationFilterSupport
  @@ -101,6 +101,8 @@
      */
     public synchronized boolean isNotificationEnabled(Notification notification)
     {
  +    if (notification == null)
  +      throw new IllegalArgumentException("null notification");
       // Is it enabled?
       return enabled.contains(notification.getType());
     }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to