[Patch][gui] javax.swing.JTable

Michael Koch konqueror@gmx.de
Thu Dec 16 18:50:00 GMT 2004


Hi list,


I just commited the attached patch to fix two typos in method names in
javax.swing.JTable.


Michael


2004-12-16  Michael Koch  <konqueror@gmx.de>

	* javax/swing/JTable.java
	(getIntercellSpacing): Fixed typo in method name.
	(setIntercellSpacing): Likewise.

-------------- next part --------------
Index: javax/swing/JTable.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JTable.java,v
retrieving revision 1.4.18.9
diff -u -r1.4.18.9 JTable.java
--- javax/swing/JTable.java	10 Nov 2004 07:19:48 -0000	1.4.18.9
+++ javax/swing/JTable.java	16 Dec 2004 16:08:12 -0000
@@ -1003,11 +1003,11 @@
   }
 
   /**
-   * Get the value of the {@link #interCellSpacing} property.
+   * Get the value of the {@link #intercellSpacing} property.
    *
    * @return The current value of the property
    */
-  public Dimension getInterCellSpacing()
+  public Dimension getIntercellSpacing()
   {
     return new Dimension(columnModel.getColumnMargin(), rowMargin);
   }
@@ -1297,11 +1297,11 @@
   }
 
   /**
-   * Set the value of the {@link #interCellSpacing} property.
+   * Set the value of the {@link #intercellSpacing} property.
    *
-   * @param i The new value of the interCellSpacing property
+   * @param i The new value of the intercellSpacing property
    */ 
-  public void setInterCellSpacing(Dimension i)
+  public void setIntercellSpacing(Dimension i)
   {
     rowMargin = i.height;
     columnModel.setColumnMargin(i.width);


More information about the Java-patches mailing list