Hey,
This implements the missing toString() method in java.awt.GridBagLayout.
This patch now passes a failing intel test. I have also committed a
mauve test.
Cheers,
Tania
2006-11-01 Tania Bento <[EMAIL PROTECTED]>
* java/awt/GridBagLayout.java
(toString): Implemented method.
Index: java/awt/GridBagLayout.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/GridBagLayout.java,v
retrieving revision 1.31
diff -u -r1.31 GridBagLayout.java
--- java/awt/GridBagLayout.java 14 Jul 2006 21:57:17 -0000 1.31
+++ java/awt/GridBagLayout.java 1 Nov 2006 16:58:46 -0000
@@ -320,6 +320,16 @@
}
/**
+ * Return a string representation of this GridBagLayout.
+ *
+ * @return a string representation
+ */
+ public String toString()
+ {
+ return getClass().getName();
+ }
+
+ /**
* Move and resize a rectangle according to a set of grid bag
* constraints. The x, y, width and height fields of the
* rectangle argument are adjusted to the new values.