This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[GUI] Patch: javax.swing.plaf.BorderUIResource
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 09:16:35 +0200
- Subject: [GUI] Patch: javax.swing.plaf.BorderUIResource
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to add serialVersionUIDs to
javax/swing/plaf/BorderUIResource.java.
Michael
2004-06-10 Michael Koch <konqueror@gmx.de>
* javax/swing/plaf/BorderUIResource.java:
Added serialVersionUID all over.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAyArWWSOgCCdjSDsRAnizAJ9NySVlHmUlKDiuSbvNDcf148PLcgCfZ8qW
EhIhXqJOuTHejwsmO2kNQHg=
=aeOb
-----END PGP SIGNATURE-----
Index: javax/swing/plaf/BorderUIResource.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/BorderUIResource.java,v
retrieving revision 1.8.14.1
diff -u -b -B -r1.8.14.1 BorderUIResource.java
--- javax/swing/plaf/BorderUIResource.java 10 Jun 2004 06:40:51 -0000 1.8.14.1
+++ javax/swing/plaf/BorderUIResource.java 10 Jun 2004 07:12:13 -0000
@@ -270,6 +270,8 @@
extends BevelBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = -1275542891108351642L;
+
/**
* Constructs a BevelBorderUIResource whose colors will be derived
* from the background of the enclosed component. The background
@@ -399,6 +401,8 @@
extends CompoundBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = 7550017084975167341L;
+
/**
* Constructs a CompoundBorderUIResource with the specified inside
* and outside borders.
@@ -441,6 +445,8 @@
extends EmptyBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = -4914187529340071708L;
+
/**
* Constructs an empty border given the number of pixels required
* on each side.
@@ -496,6 +502,8 @@
extends EtchedBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = -8186391754165296656L;
+
/**
* Constructs an EtchedBorderUIResource that appears lowered into
* the surface. The colors will be derived from the background
@@ -597,6 +605,8 @@
extends LineBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = -6171232338180172310L;
+
/**
* Constructs a LineBorderUIResource given its color. The border
* will be one pixel thick and have plain corners.
@@ -652,6 +662,8 @@
extends MatteBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = -8107923147541851122L;
+
/**
* Constructs a MatteBorderUIResource given the width on each side
* and a fill color.
@@ -731,6 +743,8 @@
extends TitledBorder
implements UIResource, Serializable
{
+ private static final long serialVersionUID = 7667113547406407427L;
+
/**
* Constructs a TitledBorderUIResource given the text of its title.
*