RFR: 8353655: Clean up and open source KeyEvent related tests (Part 1)
Andrey Turbanov
aturbanov at openjdk.org
Mon Apr 14 12:51:07 UTC 2025
On Sun, 13 Apr 2025 03:29:37 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> Clean up and open source three tests related to the KeyEvent mechanics.
test/jdk/java/awt/event/KeyEvent/HomeEndKeyTest.java line 100:
> 98: protected void printKey(KeyEvent evt) {
> 99: String str;
> 100: switch(evt.getID()) {
Suggestion:
switch (evt.getID()) {
test/jdk/java/awt/event/KeyEvent/NumpadTest.java line 90:
> 88:
> 89: protected void printKey(KeyEvent evt) {
> 90: switch(evt.getID()) {
Suggestion:
switch (evt.getID()) {
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24609#discussion_r2041948105
PR Review Comment: https://git.openjdk.org/jdk/pull/24609#discussion_r2041947616
More information about the client-libs-dev
mailing list