This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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("");
 }
 
 /*************************************************************************/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]