--- a/jdk/src/share/classes/java/awt/Choice.java Tue Jun 24 10:25:56 2014 +0100
+++ b/jdk/src/share/classes/java/awt/Choice.java Tue Jun 24 16:57:02 2014 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -156,6 +156,7 @@
/**
* Returns the number of items in this <code>Choice</code> menu.
+ *
* @return the number of items in this <code>Choice</code> menu
* @see #getItem
* @since 1.1
@@ -165,6 +166,9 @@
}
/**
+ * Returns the number of items in this {@code Choice} menu.
+ *
+ * @return the number of items in this {@code Choice} menu
* @deprecated As of JDK version 1.1,
* replaced by <code>getItemCount()</code>.
*/
@@ -176,8 +180,10 @@
/**
* Gets the string at the specified index in this
* <code>Choice</code> menu.
- * @param index the index at which to begin
- * @see #getItemCount
+ *
+ * @param index the index at which to begin
+ * @return the item at the specified index
+ * @see #getItemCount
*/
public String getItem(int index) {
return getItemImpl(index);
@@ -759,6 +765,9 @@
*/
private static final long serialVersionUID = 7175603582428509322L;
+ /**
+ * Constructor for {@code AccessibleAWTChoice}
+ */
public AccessibleAWTChoice() {
super();
}