User: squirest
  Date: 02/02/25 18:02:58

  Modified:    src/main/javax/management/relation RoleInfo.java
  Log:
  moved and removed stuff.  new items will go into capability until a better home can 
be found
  
  Revision  Changes    Path
  1.5       +13 -13    jmx/src/main/javax/management/relation/RoleInfo.java
  
  Index: RoleInfo.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/relation/RoleInfo.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RoleInfo.java     16 Feb 2002 10:29:55 -0000      1.4
  +++ RoleInfo.java     26 Feb 2002 02:02:58 -0000      1.5
  @@ -12,7 +12,7 @@
   import javax.management.DynamicMBean;
   import javax.management.NotCompliantMBeanException;
   
  -import org.jboss.mx.capability.MBeanCapability;
  +import org.jboss.mx.metadata.MBeanCapability;
   
   /**
    * This class contains information about a role. For example the
  @@ -20,7 +20,7 @@
    * are part of the role, whether the role is read/write, etc.<p>
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Adrian Brock</a>.
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    *
    */
   public class RoleInfo
  @@ -147,10 +147,10 @@
      }
   
      /**
  -    * Construct a role info with the given name, class name, 
  +    * Construct a role info with the given name, class name,
       * read/write attributes, minimum/maximum degree and description.
       * The description can be null.<p>
  -    * 
  +    *
       * Pass <i>ROLE_CARDINALITY_INFINITY</i> for an unlimited degree.
       * The minimum must be less than or equal to the maximum.
       *
  @@ -180,7 +180,7 @@
          throw new IllegalArgumentException("Null class name");
        if (maxDegree < minDegree && maxDegree != ROLE_CARDINALITY_INFINITY)
          throw new InvalidRoleInfoException("maximum less than minimum");
  -     if (minDegree == ROLE_CARDINALITY_INFINITY && 
  +     if (minDegree == ROLE_CARDINALITY_INFINITY &&
            maxDegree != ROLE_CARDINALITY_INFINITY)
          throw new InvalidRoleInfoException("maximum less than minimum");
        this.name = name;
  @@ -196,7 +196,7 @@
      // Public ------------------------------------------------------
   
      /**
  -    * Check to see whether a given value is greater than or equal to the 
  +    * Check to see whether a given value is greater than or equal to the
       * minimum degree.
       *
       * @param value the value to check.
  @@ -209,7 +209,7 @@
      }
   
      /**
  -    * Check to see whether a given value is less than or equal to the 
  +    * Check to see whether a given value is less than or equal to the
       * maximum degree.
       *
       * @param value the value to check.
  @@ -300,17 +300,17 @@
      {
        StringBuffer buffer = new StringBuffer("RoleInfo for name: (");
        buffer.append(name);
  -     buffer.append(") class name: ("); 
  +     buffer.append(") class name: (");
        buffer.append(className);
  -     buffer.append(") description: ("); 
  +     buffer.append(") description: (");
        buffer.append(description);
  -     buffer.append(") readable: ("); 
  +     buffer.append(") readable: (");
        buffer.append(readable);
  -     buffer.append(") writable: ("); 
  +     buffer.append(") writable: (");
        buffer.append(writable);
  -     buffer.append(") minimum degree: ("); 
  +     buffer.append(") minimum degree: (");
        buffer.append(minDegree);
  -     buffer.append(") maximum degree: ("); 
  +     buffer.append(") maximum degree: (");
        buffer.append(maxDegree);
        buffer.append(")");
        return buffer.toString();
  
  
  

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

Reply via email to