[Patch][gui] javax.swing
Michael Koch
konqueror@gmx.de
Mon Sep 27 19:47:00 GMT 2004
Hi list,
I just merged the attached patch from GNU classpath.
Michael
2004-09-27 Michael Koch <konqueror@gmx.de>
* javax/swing/JSpinner.java
(serialVersionUID): New static field.
* javax/swing/JToggleButton.java
(JToggleButton): Fixed email addresses.
* javax/swing/SpinnerNumberModel.java
(serialVersionUID): Added javadoc.
-------------- next part --------------
Index: javax/swing/JSpinner.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JSpinner.java,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 JSpinner.java
--- javax/swing/JSpinner.java 23 Sep 2004 15:35:20 -0000 1.1.2.6
+++ javax/swing/JSpinner.java 27 Sep 2004 08:25:58 -0000
@@ -116,6 +116,11 @@
private JSpinner spinner;
/**
+ * For compatability with Sun's JDK 1.4.2 rev. 5
+ */
+ private static final long serialVersionUID = -5317788736173368172L;
+
+ /**
* Creates a new <code>DefaultEditor</code> object.
*
* @param spinner the <code>JSpinner</code> associated with this editor
Index: javax/swing/JToggleButton.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/JToggleButton.java,v
retrieving revision 1.4.2.7
diff -u -r1.4.2.7 JToggleButton.java
--- javax/swing/JToggleButton.java 26 Sep 2004 11:43:50 -0000 1.4.2.7
+++ javax/swing/JToggleButton.java 27 Sep 2004 08:25:58 -0000
@@ -52,9 +52,9 @@
* for the implementations of radio buttons (<code>JRadioButton</code>)
* and check boxes (<code>JCheckBox</code>).
*
- * @author Michael Koch <address@hidden>
- * @author Graydon Hoare <address@hidden>
- * @author Andrew John Hughes <address@hidden>
+ * @author Michael Koch <konqueror@gmx.de>
+ * @author Graydon Hoare <graydon@redhat.com>
+ * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
* @see JRadioButton
* @see JCheckBox
* @since 1.2
Index: javax/swing/SpinnerNumberModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/SpinnerNumberModel.java,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 SpinnerNumberModel.java
--- javax/swing/SpinnerNumberModel.java 13 Sep 2004 09:37:22 -0000 1.1.2.4
+++ javax/swing/SpinnerNumberModel.java 27 Sep 2004 08:25:58 -0000
@@ -48,6 +48,9 @@
public class SpinnerNumberModel extends AbstractSpinnerModel
implements Serializable
{
+ /**
+ * For compatability with Sun's JDK
+ */
private static final long serialVersionUID = 7279176385485777821L;
/** DOCUMENT ME! */
More information about the Java-patches
mailing list