--- old/src/java.management/share/classes/javax/management/MBeanInfo.java 2015-08-05 20:44:35.162427083 +0400 +++ new/src/java.management/share/classes/javax/management/MBeanInfo.java 2015-08-05 20:44:34.950427092 +0400 @@ -57,12 +57,12 @@ * infoTimeout fields in the {@code * MBeanInfo} {@link Descriptor}.
* - *The contents of the MBeanInfo
for a Dynamic MBean
+ *
The contents of the {@code MBeanInfo} for a Dynamic MBean * are determined by its {@link DynamicMBean#getMBeanInfo * getMBeanInfo()} method. This includes Open MBeans and Model * MBeans, which are kinds of Dynamic MBeans.
* - *The contents of the MBeanInfo
for a Standard MBean
+ *
The contents of the {@code MBeanInfo} for a Standard MBean * are determined by the MBean server as follows:
* *The description returned by {@link #getDescription()} and the * descriptions of the contained attributes and operations are not specified.
* - *The remaining details of the MBeanInfo
for a
+ *
The remaining details of the {@code MBeanInfo} for a
* Standard MBean are not specified. This includes the description of
* any contained constructors, and notifications; the names
* of parameters to constructors and operations; and the descriptions of
@@ -161,10 +161,10 @@
private final transient boolean arrayGettersSafe;
/**
- * Constructs an MBeanInfo
.
+ * Constructs an {@code MBeanInfo}.
*
* @param className The name of the Java class of the MBean described
- * by this MBeanInfo
. This value may be any
+ * by this {@code MBeanInfo}. This value may be any
* syntactically legal Java class name. It does not have to be a
* Java class known to the MBean server or to the MBean's
* ClassLoader. If it is a Java class known to the MBean's
@@ -195,10 +195,10 @@
}
/**
- * Constructs an MBeanInfo
.
+ * Constructs an {@code MBeanInfo}.
*
* @param className The name of the Java class of the MBean described
- * by this MBeanInfo
. This value may be any
+ * by this {@code MBeanInfo}. This value may be any
* syntactically legal Java class name. It does not have to be a
* Java class known to the MBean server or to the MBean's
* ClassLoader. If it is a Java class known to the MBean's
@@ -260,9 +260,9 @@
/**
*
Returns a shallow clone of this instance. - * The clone is obtained by simply calling super.clone(), + * The clone is obtained by simply calling {@code super.clone()}, * thus calling the default native shallow cloning mechanism - * implemented by Object.clone(). + * implemented by {@code Object.clone()}. * No deeper cloning of any internal field is made.
* *Since this class is immutable, the clone method is chiefly of
@@ -281,7 +281,7 @@
/**
* Returns the name of the Java class of the MBean described by
- * this MBeanInfo
.
+ * this {@code MBeanInfo}.
*
* @return the class name.
*/
@@ -300,14 +300,14 @@
/**
* Returns the list of attributes exposed for management.
- * Each attribute is described by an MBeanAttributeInfo
object.
+ * Each attribute is described by an {@code MBeanAttributeInfo} object.
*
* The returned array is a shallow copy of the internal array,
* which means that it is a copy of the internal array of
- * references to the MBeanAttributeInfo
objects
- * but that each referenced MBeanAttributeInfo
object is not copied.
+ * references to the {@code MBeanAttributeInfo} objects
+ * but that each referenced {@code MBeanAttributeInfo} object is not copied.
*
- * @return An array of MBeanAttributeInfo
objects.
+ * @return An array of {@code MBeanAttributeInfo} objects.
*/
public MBeanAttributeInfo[] getAttributes() {
MBeanAttributeInfo[] as = nonNullAttributes();
@@ -342,14 +342,14 @@
/**
* Returns the list of operations of the MBean.
- * Each operation is described by an MBeanOperationInfo
object.
+ * Each operation is described by an {@code MBeanOperationInfo} object.
*
* The returned array is a shallow copy of the internal array,
* which means that it is a copy of the internal array of
- * references to the MBeanOperationInfo
objects
- * but that each referenced MBeanOperationInfo
object is not copied.
+ * references to the {@code MBeanOperationInfo} objects
+ * but that each referenced {@code MBeanOperationInfo} object is not copied.
*
- * @return An array of MBeanOperationInfo
objects.
+ * @return An array of {@code MBeanOperationInfo} objects.
*/
public MBeanOperationInfo[] getOperations() {
MBeanOperationInfo[] os = nonNullOperations();
@@ -374,12 +374,12 @@
/**
*
Returns the list of the public constructors of the MBean.
* Each constructor is described by an
- * MBeanConstructorInfo
object.
The returned array is a shallow copy of the internal array,
* which means that it is a copy of the internal array of
- * references to the MBeanConstructorInfo
objects but
- * that each referenced MBeanConstructorInfo
object
+ * references to the {@code MBeanConstructorInfo} objects but
+ * that each referenced {@code MBeanConstructorInfo} object
* is not copied.
The returned list is not necessarily exhaustive. That is, @@ -388,7 +388,7 @@ * instance of this MBean's class using that constructor, even * though it is not listed here.
* - * @return An array ofMBeanConstructorInfo
objects.
+ * @return An array of {@code MBeanConstructorInfo} objects.
*/
public MBeanConstructorInfo[] getConstructors() {
MBeanConstructorInfo[] cs = nonNullConstructors();
@@ -412,14 +412,14 @@
/**
* Returns the list of the notifications emitted by the MBean.
- * Each notification is described by an MBeanNotificationInfo
object.
+ * Each notification is described by an {@code MBeanNotificationInfo} object.
*
* The returned array is a shallow copy of the internal array,
* which means that it is a copy of the internal array of
- * references to the MBeanNotificationInfo
objects
- * but that each referenced MBeanNotificationInfo
object is not copied.
+ * references to the {@code MBeanNotificationInfo} objects
+ * but that each referenced {@code MBeanNotificationInfo} object is not copied.
*
- * @return An array of MBeanNotificationInfo
objects.
+ * @return An array of {@code MBeanNotificationInfo} objects.
*/
public MBeanNotificationInfo[] getNotifications() {
MBeanNotificationInfo[] ns = nonNullNotifications();
@@ -482,7 +482,7 @@
*
* @param o the object to compare to.
*
- * @return true if and only if o
is an MBeanInfo that is equal
+ * @return true if and only if {@code o} is an MBeanInfo that is equal
* to this one according to the rules above.
*/
@Override
@@ -534,12 +534,12 @@
new WeakHashMapsubclass
is known to preserve the
- * immutability of immutableClass
. The class
- * immutableClass
is a reference class that is known
- * to be immutable. The subclass subclass
is
+ * Return true if {@code subclass} is known to preserve the
+ * immutability of {@code immutableClass}. The class
+ * {@code immutableClass} is a reference class that is known
+ * to be immutable. The subclass {@code subclass} is
* considered immutable if it does not override any public method
- * of immutableClass
whose name begins with "get".
+ * of {@code immutableClass} whose name begins with "get".
* This is obviously not an infallible test for immutability,
* but it works for the public interfaces of the MBean*Info classes.
*/