jdk/src/share/classes/javax/management/MBeanPermission.java
changeset 24368 2b4801b94265
parent 5506 202f599c92aa
child 24685 215fa91e1b4c
equal deleted inserted replaced
24367:705490680527 24368:2b4801b94265
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   154  * <li>setAttribute</li>
   154  * <li>setAttribute</li>
   155  * <li>unregisterMBean</li>
   155  * <li>unregisterMBean</li>
   156  * </ul>
   156  * </ul>
   157  *
   157  *
   158  * <p>In a comma-separated list of actions, spaces are allowed before
   158  * <p>In a comma-separated list of actions, spaces are allowed before
   159  * and after each action.</p>
   159  * and after each action.
   160  *
   160  *
   161  * @since 1.5
   161  * @since 1.5
   162  */
   162  */
   163 public class MBeanPermission extends Permission {
   163 public class MBeanPermission extends Permission {
   164 
   164 
  1127 
  1127 
  1128     /**
  1128     /**
  1129      * Checks two MBeanPermission objects for equality. Checks
  1129      * Checks two MBeanPermission objects for equality. Checks
  1130      * that <i>obj</i> is an MBeanPermission, and has the same
  1130      * that <i>obj</i> is an MBeanPermission, and has the same
  1131      * name and actions as this object.
  1131      * name and actions as this object.
  1132      * <P>
  1132      *
  1133      * @param obj the object we are testing for equality with this object.
  1133      * @param obj the object we are testing for equality with this object.
  1134      * @return true if obj is an MBeanPermission, and has the
  1134      * @return true if obj is an MBeanPermission, and has the
  1135      * same name and actions as this MBeanPermission object.
  1135      * same name and actions as this MBeanPermission object.
  1136      */
  1136      */
  1137     public boolean equals(Object obj) {
  1137     public boolean equals(Object obj) {