--- old/src/share/classes/java/awt/Choice.java 2014-06-03 16:28:41.000000000 +0400
+++ new/src/share/classes/java/awt/Choice.java 2014-06-03 16:28:40.000000000 +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
@@ -165,6 +165,8 @@
}
/**
+ * 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 getItemCount()
.
*/
@@ -177,6 +179,7 @@
* Gets the string at the specified index in this
* Choice
menu.
* @param index the index at which to begin
+ * @return the item at the specified index
* @see #getItemCount
*/
public String getItem(int index) {
@@ -759,6 +762,9 @@
*/
private static final long serialVersionUID = 7175603582428509322L;
+ /**
+ * Constructor for {@code AccessibleAWTChoice}
+ */
public AccessibleAWTChoice() {
super();
}