src/share/classes/javax/swing/text/StyleContext.java
Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:
@@ -1011,22 +1011,22 @@
/**
* Tests if this enumeration contains more elements.
*
* @return <code>true</code> if this enumeration contains more elements;
* <code>false</code> otherwise.
- * @since JDK1.0
+ * @since 1.0
*/
public boolean hasMoreElements() {
return i < attr.length;
}
/**
* Returns the next element of this enumeration.
*
* @return the next element of this enumeration.
* @exception NoSuchElementException if no more elements exist.
- * @since JDK1.0
+ * @since 1.0
*/
public Object nextElement() {
if (i < attr.length) {
Object o = attr[i];
i += 2;