Skip to content

Commit

Permalink
Remove a list level in Javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjwalls committed Sep 10, 2024
1 parent ce8e89c commit df5b0f4
Showing 1 changed file with 36 additions and 46 deletions.
82 changes: 36 additions & 46 deletions src/java.management/share/classes/javax/management/ObjectName.java
Original file line number Diff line number Diff line change
Expand Up @@ -1037,30 +1037,25 @@ private void setDomainLength(int length) throws MalformedObjectNameException {

/**
* Deserializes an {@link ObjectName} from an {@link ObjectInputStream}.
* @serialData <ul>
* <li>In the current serial form the string
* &quot;&lt;domain&gt;:&lt;properties&gt;&lt;wild&gt;&quot;,
* where: <ul>
* <li>&lt;domain&gt; represents the domain part
* of the {@link ObjectName}</li>
* <li>&lt;properties&gt; represents the list of
* properties, as returned by
* {@link #getKeyPropertyListString}
* <li>&lt;wild&gt; is empty if not
* <code>isPropertyPattern</code>, or
* is the character "<code>*</code>" if
* <code>isPropertyPattern</code>
* and &lt;properties&gt; is empty, or
* is "<code>,*</code>" if
* <code>isPropertyPattern</code> and
* &lt;properties&gt; is not empty.
* </li>
* </ul>
* The intent is that this string could be supplied
* to the {@link #ObjectName(String)} constructor to
* produce an equivalent {@link ObjectName}.
* </li>
* @serialData The string &quot;&lt;domain&gt;:&lt;properties&gt;&lt;wild&gt;&quot;, where:
* <ul>
* <li>&lt;domain&gt; represents the domain part
* of the {@link ObjectName}</li>
* <li>&lt;properties&gt; represents the list of
* properties, as returned by
* {@link #getKeyPropertyListString}</li>
* <li>&lt;wild&gt; is empty if not
* <code>isPropertyPattern</code>, or
* is the character "<code>*</code>" if
* <code>isPropertyPattern</code>
* and &lt;properties&gt; is empty, or
* is "<code>,*</code>" if
* <code>isPropertyPattern</code> and
* &lt;properties&gt; is not empty.</li>
* </ul>
* The intent is that this string could be supplied
* to the {@link #ObjectName(String)} constructor to
* produce an equivalent {@link ObjectName}.
*/
private void readObject(ObjectInputStream in)
throws IOException, ClassNotFoundException {
Expand All @@ -1079,30 +1074,25 @@ private void readObject(ObjectInputStream in)

/**
* Serializes an {@link ObjectName} to an {@link ObjectOutputStream}.
* @serialData <ul>
* <li>In the current serial form the string
* &quot;&lt;domain&gt;:&lt;properties&gt;&lt;wild&gt;&quot;,
* where: <ul>
* <li>&lt;domain&gt; represents the domain part
* of the {@link ObjectName}</li>
* <li>&lt;properties&gt; represents the list of
* properties, as returned by
* {@link #getKeyPropertyListString}
* <li>&lt;wild&gt; is empty if not
* <code>isPropertyPattern</code>, or
* is the character "<code>*</code>" if
* this <code>isPropertyPattern</code>
* and &lt;properties&gt; is empty, or
* is "<code>,*</code>" if
* <code>isPropertyPattern</code> and
* &lt;properties&gt; is not empty.
* </li>
* </ul>
* The intent is that this string could be supplied
* to the {@link #ObjectName(String)} constructor to
* produce an equivalent {@link ObjectName}.
* </li>
* @serialData The string &quot;&lt;domain&gt;:&lt;properties&gt;&lt;wild&gt;&quot;, where:
* <ul>
* <li>&lt;domain&gt; represents the domain part
* of the {@link ObjectName}</li>
* <li>&lt;properties&gt; represents the list of
* properties, as returned by
* {@link #getKeyPropertyListString}</li>
* <li>&lt;wild&gt; is empty if not
* <code>isPropertyPattern</code>, or
* is the character "<code>*</code>" if
* this <code>isPropertyPattern</code>
* and &lt;properties&gt; is empty, or
* is "<code>,*</code>" if
* <code>isPropertyPattern</code> and
* &lt;properties&gt; is not empty.</li>
* </ul>
* The intent is that this string could be supplied
* to the {@link #ObjectName(String)} constructor to
* produce an equivalent {@link ObjectName}.
*/
private void writeObject(ObjectOutputStream out)
throws IOException {
Expand Down

0 comments on commit df5b0f4

Please sign in to comment.