8075956: Fix some tidy warnings for java.awt

Minor HTML markup fix

Reviewed-by: azvegint
This commit is contained in:
Alexander Stepanov 2015-03-26 14:18:42 +04:00
parent fc1c3b4838
commit 78bab3fc15
2 changed files with 11 additions and 16 deletions

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -353,7 +353,7 @@ import java.util.Arrays;
* } * }
* } * }
* </pre></blockquote><hr> * </pre></blockquote><hr>
* <p> *
* @author Doug Stein * @author Doug Stein
* @author Bill Spitzak (orignial NeWS &amp; OLIT implementation) * @author Bill Spitzak (orignial NeWS &amp; OLIT implementation)
* @see java.awt.GridBagConstraints * @see java.awt.GridBagConstraints
@ -770,7 +770,7 @@ java.io.Serializable {
* components. The value should be a number between 0 and 1 * components. The value should be a number between 0 and 1
* where 0 represents alignment along the origin, 1 is aligned * where 0 represents alignment along the origin, 1 is aligned
* the furthest away from the origin, 0.5 is centered, etc. * the furthest away from the origin, 0.5 is centered, etc.
* <p> *
* @return the value <code>0.5f</code> to indicate centered * @return the value <code>0.5f</code> to indicate centered
*/ */
public float getLayoutAlignmentX(Container parent) { public float getLayoutAlignmentX(Container parent) {
@ -783,7 +783,7 @@ java.io.Serializable {
* components. The value should be a number between 0 and 1 * components. The value should be a number between 0 and 1
* where 0 represents alignment along the origin, 1 is aligned * where 0 represents alignment along the origin, 1 is aligned
* the furthest away from the origin, 0.5 is centered, etc. * the furthest away from the origin, 0.5 is centered, etc.
* <p> *
* @return the value <code>0.5f</code> to indicate centered * @return the value <code>0.5f</code> to indicate centered
*/ */
public float getLayoutAlignmentY(Container parent) { public float getLayoutAlignmentY(Container parent) {

View file

@ -1,5 +1,5 @@
<!-- <!--
Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -89,7 +89,6 @@
<u>Scope of blocking (SB)</u> - the set of windows (instances of <u>Scope of blocking (SB)</u> - the set of windows (instances of
<code>java.awt.Window</code> and all derived classes) that are blocked by <code>java.awt.Window</code> and all derived classes) that are blocked by
the modal dialog while it is visible. the modal dialog while it is visible.
</p><p>
<blockquote><hr> <blockquote><hr>
<b>Note</b>: Everywhere in this document the notion of "window" is equal <b>Note</b>: Everywhere in this document the notion of "window" is equal
to a top-level window in the Java programming language &mdash; in other words to a top-level window in the Java programming language &mdash; in other words
@ -109,8 +108,7 @@
</li></ul> </li></ul>
A dialog is, by default, modeless. A modal dialog is, by default, A dialog is, by default, modeless. A modal dialog is, by default,
application-modal. application-modal.
<p> <ol>
</p><ol>
<li><u>Modeless dialogs</u><br> <li><u>Modeless dialogs</u><br>
A modeless dialog doesn't block any windows while visible. A modeless dialog doesn't block any windows while visible.
</li><li><u>Document-modal dialogs</u><br> </li><li><u>Document-modal dialogs</u><br>
@ -156,7 +154,6 @@
its owner. Thus, in this case the only thing that the owner its owner. Thus, in this case the only thing that the owner
affects is the Z-order: the dialog always stays on top of its owner. affects is the Z-order: the dialog always stays on top of its owner.
</li></ul> </li></ul>
<p>
<blockquote><hr> <blockquote><hr>
<b>Implementation note</b>: Changing the modality type for a visible <b>Implementation note</b>: Changing the modality type for a visible
dialog may have no effect until it is hidden and then shown again. dialog may have no effect until it is hidden and then shown again.
@ -277,8 +274,7 @@
</li><li>Exclusion from blocking of application-modal dialogs </li><li>Exclusion from blocking of application-modal dialogs
</li></ul> </li></ul>
By default, a window's modal exclusion property is turned off. By default, a window's modal exclusion property is turned off.
<p> <ol>
</p><ol>
<li><u>Application-modal exclusion</u><br> <li><u>Application-modal exclusion</u><br>
If a window is application-modal excluded, it is not blocked by any If a window is application-modal excluded, it is not blocked by any
application-modal dialogs. Also, it is not blocked by document-modal application-modal dialogs. Also, it is not blocked by document-modal
@ -288,7 +284,6 @@
by any application- or toolkit-modal dialogs. Also, it is not by any application- or toolkit-modal dialogs. Also, it is not
blocked by document-modal dialogs from outside of their child hierarchy. blocked by document-modal dialogs from outside of their child hierarchy.
</li></ol> </li></ol>
<p>
<blockquote> <blockquote>
<hr> <hr>
<b>Implementation note</b>: Changing the modal exclusion type for a visible window <b>Implementation note</b>: Changing the modal exclusion type for a visible window
@ -399,7 +394,7 @@
<br> <br>
</td> </td>
<td align="center"> <td align="center">
<img src="modal-example1.gif"> <img src="modal-example1.gif" alt="Example 1">
<br> <br>
</td> </td>
</tr> </tr>
@ -418,7 +413,7 @@
<br> <br>
</td> </td>
<td align="center"> <td align="center">
<img src="modal-example2.gif"> <img src="modal-example2.gif" alt="Example 2">
<br> <br>
</td> </td>
</tr> </tr>
@ -440,7 +435,7 @@
<br> <br>
</td> </td>
<td align="center"> <td align="center">
<img src="modal-example3.gif"> <img src="modal-example3.gif" alt="Example 3">
<br> <br>
</td> </td>
</tr> </tr>
@ -462,7 +457,7 @@
<br> <br>
</td> </td>
<td align="center"> <td align="center">
<img src="modal-example4.gif"> <img src="modal-example4.gif" alt="Example 4">
<br> <br>
</td> </td>
</tr> </tr>