Skip to content

Commit b876163

Browse files
committed
Small fixes based on review comments
1 parent af6ca77 commit b876163

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

test/jdk/java/awt/event/KeyEvent/FrenchKeyboard.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/*
2525
* @test
2626
* @bug 4308606
27-
* @summary Tests whether the keys on the numeric keyboard work
27+
* @summary Tests whether the keys on the numeric keyboard work
2828
* correctly under French input locale.
2929
* @library /java/awt/regtesthelpers
3030
* @build PassFailJFrame
@@ -67,3 +67,4 @@ public static void main(String[] args) throws InterruptedException,
6767
.awaitAndCheck();
6868
}
6969
}
70+

test/jdk/java/awt/event/KeyEvent/HomeEndKeyTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ protected void printKey(KeyEvent evt) {
104104
case KeyEvent.KEY_RELEASED:
105105
str = "KEY_RELEASED";
106106
break;
107-
case KeyEvent.KEY_TYPED:
108-
str = "KEY_TYPED";
109-
break;
110107
default:
111108
str = "unknown type";
112109
}

test/jdk/java/awt/event/KeyEvent/NumpadTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void keyReleased(KeyEvent evt) {
8787
}
8888

8989
protected void printKey(KeyEvent evt) {
90-
switch(evt.getID()) {
90+
switch (evt.getID()) {
9191
case KeyEvent.KEY_TYPED:
9292
break;
9393
case KeyEvent.KEY_PRESSED:

0 commit comments

Comments
 (0)