Skip to content

Commit e01d6d0

Browse files
committedNov 10, 2021
8276679: Malformed Javadoc inline tags in JDK source in javax/swing
Reviewed-by: aivanov, pbansal
1 parent fd0a25e commit e01d6d0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎src/java.desktop/share/classes/javax/swing/JTree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3675,7 +3675,7 @@ public boolean getScrollableTracksViewportHeight() {
36753675
* This will fail if a <code>TreeWillExpandListener</code> vetos it.
36763676
*
36773677
* @param path a {@code TreePath} identifying a node
3678-
* @param state if {@code true}, all parents of @{code path} and path are marked as expanded.
3678+
* @param state if {@code true}, all parents of {@code path} and path are marked as expanded.
36793679
* Otherwise, all parents of {@code path} are marked EXPANDED,
36803680
* but {@code path} itself is marked collapsed.
36813681
*/

‎src/java.desktop/share/classes/javax/swing/SwingUtilities.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ static void installSwingDropTargetAsNecessary(Component c,
106106
}
107107

108108
/**
109-
* Return {@code true} if @{code a} contains {@code b}
109+
* Return {@code true} if {@code a} contains {@code b}
110110
*
111111
* @param a the first rectangle
112112
* @param b the second rectangle
113113
*
114-
* @return {@code true} if @{code a} contains {@code b}
114+
* @return {@code true} if {@code a} contains {@code b}
115115
*/
116116
public static final boolean isRectangleContainingRectangle(Rectangle a,Rectangle b) {
117117
return b.x >= a.x && (b.x + b.width) <= (a.x + a.width) &&

‎src/java.desktop/share/classes/javax/swing/event/HyperlinkEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public Element getSourceElement() {
175175
/**
176176
* Returns the {@code InputEvent} that triggered the hyperlink event.
177177
* This will typically be a {@code MouseEvent}. If a constructor is used
178-
* that does not specify an {@code InputEvent}, or @{code null}
178+
* that does not specify an {@code InputEvent}, or {@code null}
179179
* was specified as the {@code InputEvent}, this returns {@code null}.
180180
*
181181
* @return InputEvent that triggered the hyperlink event, or null

‎src/java.desktop/share/classes/javax/swing/plaf/basic/BasicComboBoxUI.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class BasicComboBoxUI extends ComboBoxUI {
9595
protected ComboPopup popup;
9696

9797
/**
98-
* The Component that the @{code ComboBoxEditor} uses for editing.
98+
* The Component that the {@code ComboBoxEditor} uses for editing.
9999
*/
100100
protected Component editor;
101101

0 commit comments

Comments
 (0)