* java/awt/AWTKeyStroke.java (vktable): Now package-private.

From-SVN: r98752
This commit is contained in:
Tom Tromey 2005-04-26 00:22:19 +00:00 committed by Tom Tromey
parent 0d767acfdf
commit 3e591bd21b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2005-04-25 Tom Tromey <tromey@redhat.com>
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c

View File

@ -108,11 +108,12 @@ public class AWTKeyStroke implements Serializable
private static Constructor ctor;
/**
* A table of keyCode names to values.
* A table of keyCode names to values. This is package-private to
* avoid an accessor method.
*
* @see #getAWTKeyStroke(String)
*/
private static final HashMap vktable = new HashMap();
static final HashMap vktable = new HashMap();
static
{
// Using reflection saves the hassle of keeping this in sync with KeyEvent,