This patch (committed) fixes a couple of warnings about API doc tags:
2006-03-10 David Gilbert <[EMAIL PROTECTED]>
* javax/swing/JToggleButton.java: Fixed API doc tags,
* javax/swing/OverlayLayout.java: Likewise.
Regards,
Dave
Index: javax/swing/JToggleButton.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JToggleButton.java,v
retrieving revision 1.27
diff -u -r1.27 JToggleButton.java
--- javax/swing/JToggleButton.java 20 Oct 2005 20:21:29 -0000 1.27
+++ javax/swing/JToggleButton.java 10 Mar 2006 16:48:09 -0000
@@ -179,7 +179,7 @@
/**
* Checks if the button is selected.
*
- * @returns true if the button is selected
+ * @return <code>true</code> if the button is selected.
*/
public boolean isSelected()
{
Index: javax/swing/OverlayLayout.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/OverlayLayout.java,v
retrieving revision 1.9
diff -u -r1.9 OverlayLayout.java
--- javax/swing/OverlayLayout.java 19 Oct 2005 15:37:29 -0000 1.9
+++ javax/swing/OverlayLayout.java 10 Mar 2006 16:48:10 -0000
@@ -1,5 +1,5 @@
/* OverlayLayout.java -- A layout manager
- Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2005, 2006, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -198,7 +198,7 @@
*
* @param target not used here
*
- * @returns the preferred size of the container that is laid out
+ * @return the preferred size of the container that is laid out
*/
public Dimension preferredLayoutSize(Container target)
{
@@ -216,7 +216,7 @@
*
* @param target not used here
*
- * @returns the minimum size of the container that is laid out
+ * @return the minimum size of the container that is laid out
*/
public Dimension minimumLayoutSize(Container target)
{
@@ -234,7 +234,7 @@
*
* @param target not used here
*
- * @returns the maximum size of the container that is laid out
+ * @return the maximum size of the container that is laid out
*/
public Dimension maximumLayoutSize(Container target)
{
@@ -252,7 +252,7 @@
*
* @param target not used here
*
- * @returns the X alignment of the container that is laid out
+ * @return the X alignment of the container that is laid out
*/
public float getLayoutAlignmentX(Container target)
{
@@ -270,7 +270,7 @@
*
* @param target not used here
*
- * @returns the X alignment of the container that is laid out
+ * @return the X alignment of the container that is laid out
*/
public float getLayoutAlignmentY(Container target)
{