--- old/src/java.management/share/classes/com/sun/management/VMOption.java 2015-04-28 20:03:50.947593441 +0400 +++ new/src/java.management/share/classes/com/sun/management/VMOption.java 2015-04-28 20:03:50.715593441 +0400 @@ -42,10 +42,10 @@ * be set dynamically via a management interface after * the VM was started. * - * A VMOption contains the value of a VM option - * and the origin of that value at the time this VMOption + * A {@code VMOption} contains the value of a VM option + * and the origin of that value at the time this {@code VMOption} * object was constructed. The value of the VM option - * may be changed after the VMOption object was constructed, + * may be changed after the {@code VMOption} object was constructed, * * @see * Java Virtual Machine @@ -108,15 +108,15 @@ } /** - * Constructs a VMOption. + * Constructs a {@code VMOption}. * * @param name Name of a VM option. * @param value Value of a VM option. - * @param writeable true if a VM option can be set dynamically, - * or false otherwise. + * @param writeable {@code true} if a VM option can be set dynamically, + * or {@code false} otherwise. * @param origin where the value of a VM option came from. * - * @throws NullPointerException if the name or value is null + * @throws NullPointerException if the name or value is {@code null} */ public VMOption(String name, String value, boolean writeable, Origin origin) { this.name = name; @@ -126,7 +126,7 @@ } /** - * Constructs a VMOption object from a + * Constructs a {@code VMOption} object from a * {@link CompositeData CompositeData}. */ private VMOption(CompositeData cd) { @@ -150,10 +150,10 @@ /** * Returns the value of this VM option at the time when - * this VMOption was created. The value could have been changed. + * this {@code VMOption} was created. The value could have been changed. * * @return the value of the VM option at the time when - * this VMOption was created. + * this {@code VMOption} was created. */ public String getValue() { return value; @@ -174,7 +174,7 @@ * it can be set by the {@link HotSpotDiagnosticMXBean#setVMOption * HotSpotDiagnosticMXBean.setVMOption} method. * - * @return true if this VM option is writeable; false + * @return {@code true} if this VM option is writeable; {@code false} * otherwise. */ public boolean isWriteable() { @@ -189,10 +189,10 @@ } /** - * Returns a VMOption object represented by the - * given CompositeData. The given CompositeData + * Returns a {@code VMOption} object represented by the + * given {@code CompositeData}. The given {@code CompositeData} * must contain the following attributes: - *

+ * *

* * @@ -201,32 +201,32 @@ * * * - * + * * * * - * + * * * * - * + * * * * - * + * * *
namejava.lang.String{@code java.lang.String}
valuejava.lang.String{@code java.lang.String}
originjava.lang.String{@code java.lang.String}
writeablejava.lang.Boolean{@code java.lang.Boolean}
*
* - * @param cd CompositeData representing a VMOption + * @param cd {@code CompositeData} representing a {@code VMOption} * - * @throws IllegalArgumentException if cd does not - * represent a VMOption with the attributes described + * @throws IllegalArgumentException if {@code cd} does not + * represent a {@code VMOption} with the attributes described * above. * - * @return a VMOption object represented by cd - * if cd is not null; - * null otherwise. + * @return a {@code VMOption} object represented by {@code cd} + * if {@code cd} is not {@code null}; + * {@code null} otherwise. */ public static VMOption from(CompositeData cd) { if (cd == null) {