--- old/src/share/classes/java/awt/Menu.java 2014-06-03 19:46:58.000000000 +0400 +++ new/src/share/classes/java/awt/Menu.java 2014-06-03 19:46:58.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 @@ -214,7 +214,8 @@ /** * Get the number of items in this menu. - * @return the number of items in this menu. + * + * @return the number of items in this menu * @since JDK1.1 */ public int getItemCount() { @@ -222,6 +223,9 @@ } /** + * Returns the number of items in this menu. + * + * @return the number of items in this menu * @deprecated As of JDK version 1.1, * replaced by getItemCount(). */