--- a/jdk/src/java.desktop/share/classes/java/awt/event/ItemEvent.java Mon Jan 11 06:10:32 2016 -0800
+++ b/jdk/src/java.desktop/share/classes/java/awt/event/ItemEvent.java Mon Jan 11 17:51:54 2016 +0300
@@ -32,12 +32,12 @@
* A semantic event which indicates that an item was selected or deselected.
* This high-level event is generated by an ItemSelectable object (such as a
* List) when an item is selected or deselected by the user.
- * The event is passed to every <code>ItemListener</code> object which
+ * The event is passed to every {@code ItemListener} object which
* registered to receive such events using the component's
- * <code>addItemListener</code> method.
+ * {@code addItemListener} method.
* <P>
- * The object that implements the <code>ItemListener</code> interface gets
- * this <code>ItemEvent</code> when the event occurs. The listener is
+ * The object that implements the {@code ItemListener} interface gets
+ * this {@code ItemEvent} when the event occurs. The listener is
* spared the details of processing individual mouse movements and mouse
* clicks, and can instead process a "meaningful" (semantic) event like
* "item selected" or "item deselected".
@@ -98,7 +98,7 @@
Object item;
/**
- * <code>stateChange</code> indicates whether the <code>item</code>
+ * {@code stateChange} indicates whether the {@code item}
* was selected or deselected.
*
* @serial
@@ -112,12 +112,12 @@
private static final long serialVersionUID = -608708132447206933L;
/**
- * Constructs an <code>ItemEvent</code> object.
+ * Constructs an {@code ItemEvent} object.
* <p> This method throws an
- * <code>IllegalArgumentException</code> if <code>source</code>
- * is <code>null</code>.
+ * {@code IllegalArgumentException} if {@code source}
+ * is {@code null}.
*
- * @param source The <code>ItemSelectable</code> object
+ * @param source The {@code ItemSelectable} object
* that originated the event
* @param id The integer that identifies the event type.
* For information on allowable values, see
@@ -127,7 +127,7 @@
* selected or deselected.
* For information on allowable values, see
* the class description for {@link ItemEvent}
- * @throws IllegalArgumentException if <code>source</code> is null
+ * @throws IllegalArgumentException if {@code source} is null
* @see #getItemSelectable()
* @see #getID()
* @see #getStateChange()