This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gui][PATCH] use empty string for buttons without labels
- From: Thomas Fitzsimmons <fitzsim at redhat dot com>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 26 Jul 2004 01:23:48 -0400
- Subject: [gui][PATCH] use empty string for buttons without labels
Hi,
I committed this to java-gui-branch.
Tom
2004-07-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/Button.java (Button()): Use empty string rather than
null in no-label constructor.
Index: java/awt/Button.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Button.java,v
retrieving revision 1.12.2.1
diff -u -r1.12.2.1 Button.java
--- java/awt/Button.java 15 Jun 2004 01:37:11 -0000 1.12.2.1
+++ java/awt/Button.java 26 Jul 2004 05:18:53 -0000
@@ -101,7 +101,7 @@
public
Button()
{
- this(null);
+ this("");
}
/*************************************************************************/