Skip to content

Commit

Permalink
Clean up for coding standards and removal of unused fields
Browse files Browse the repository at this point in the history
  • Loading branch information
beldenfox committed Oct 9, 2024
1 parent d1947a5 commit 447a70a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ public Boolean run() {
}

@SuppressWarnings("removal")
@Override public boolean handleKeyEvent(View view, long time, int type, int key,
char[] chars, int modifiers)
@Override
public boolean handleKeyEvent(View view, long time, int type, int key,
char[] chars, int modifiers)
{
keyNotification.view = view;
keyNotification.time = time;
Expand All @@ -247,7 +248,7 @@ public Boolean run() {
keyNotification.chars = chars;
keyNotification.modifiers = modifiers;

final boolean consumed = QuantumToolkit.runWithoutRenderLock(() -> {
boolean consumed = QuantumToolkit.runWithoutRenderLock(() -> {
return AccessController.doPrivileged(keyNotification, scene.getAccessControlContext());
});
return consumed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
BOOL didCommitText;
BOOL isHiDPIAware;

NSEvent *lastKeyEvent;
NSEvent *lastKeyEvent;
}

- (id)initWithFrame:(NSRect)frame withJview:(jobject)jView withJproperties:(jobject)jproperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public class MenuDoubleShortcutTest {

static CountDownLatch startupLatch = new CountDownLatch(1);

static volatile Stage stage;
static volatile TestApp testApp;
static private final int delayMilliseconds = 100;

Expand Down Expand Up @@ -164,10 +163,9 @@ private MenuItem createMenuItem(KeyCombination accelerator) {
}

@Override
public void start(Stage primaryStage) {
public void start(Stage stage) {

testApp = this;
stage = primaryStage;

Label label = new Label("Testing accelerator double processing");

Expand Down

0 comments on commit 447a70a

Please sign in to comment.