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]

FYI: Patch: java.awt.Frame


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to trunk to fix two @deprecation issues.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD4DBQE+fsBQWSOgCCdjSDsRAjQQAJ9nUHa8gzjMIgirETS9e7qe+nKPeACYpqF3
Dnjr4H9cJOKIm79x1oYGtQ==
=kGrK
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1803
diff -u -r1.1803 ChangeLog
--- ChangeLog	24 Mar 2003 00:50:17 -0000	1.1803
+++ ChangeLog	24 Mar 2003 08:19:38 -0000
@@ -1,3 +1,9 @@
+2003-03-24  Michael Koch  <konqueror at gmx dot de>
+
+	* java/awt/Frame.java
+	(DEFAULT_CURSOR): Fixed @deprecated tag.
+	(setCursor): Fixed @deprecated tag.
+
 2003-03-23  Eric Blake  <ebb9 at email dot byu dot edu>
 
 	* java/lang/natStringBuffer.cc (regionMatches): New function.
Index: java/awt/Frame.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/Frame.java,v
retrieving revision 1.12
diff -u -r1.12 Frame.java
--- java/awt/Frame.java	15 Feb 2003 09:21:55 -0000	1.12
+++ java/awt/Frame.java	24 Mar 2003 08:19:38 -0000
@@ -60,7 +60,7 @@
 
 /**
   * Constant for the default cursor.
-  * Deprecated. replaced by <code>Cursor.DEFAULT_CURSOR</code> instead.
+  * @deprecated Replaced by <code>Cursor.DEFAULT_CURSOR</code> instead.
   */
 public static final int DEFAULT_CURSOR = Cursor.DEFAULT_CURSOR;
 
@@ -390,7 +390,7 @@
   *
   * @param type The cursor type.
   *
-  * @deprecated.  Use <code>Component.setCursor(Cursor)</code> instead.
+  * @deprecated Use <code>Component.setCursor(Cursor)</code> instead.
   */
 public void
 setCursor(int type)

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