This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[GUI] Patch: javax.swing.KeyStroke
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 09:34:23 +0200
- Subject: [GUI] Patch: javax.swing.KeyStroke
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
I just commited the attached patch to mark getKeyStroke(char, boolean)
deprecated.
Michael
2004-06-10 Michael Koch <konqueror@gmx.de>
* javax/swing/KeyStroke.java
(getKeyStroke(char,boolean)): Marked deprecated.
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAyA8BWSOgCCdjSDsRAsO1AKCMdEoZ00a3Iq2jW64IH31iHb+4ZgCfVTq/
ii49u+PLt/26pcASh6ccv7k=
=7s+j
-----END PGP SIGNATURE-----
Index: javax/swing/KeyStroke.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/KeyStroke.java,v
retrieving revision 1.3.18.1
diff -u -b -B -r1.3.18.1 KeyStroke.java
--- javax/swing/KeyStroke.java 7 Jun 2004 14:00:36 -0000 1.3.18.1
+++ javax/swing/KeyStroke.java 10 Jun 2004 07:30:40 -0000
@@ -149,6 +149,7 @@
* @param keyChar TODO
* @param onKeyRelease TODO
* @returns KeyStroke
+ * @deprecated Use getKeyStroke(char)
*/
public static KeyStroke getKeyStroke(char keyChar, boolean onKeyRelease) {
KeyStroke key = getKeyStroke(keyChar);