* 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

@ -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,