Skip to content

Commit 006979a

Browse files
author
Vladimir Kempik
committed
8257148: Remove obsolete code in AWTView.m
Backport-of: c2af27b
1 parent be0b9b1 commit 006979a

File tree

3 files changed

+1
-95
lines changed

3 files changed

+1
-95
lines changed

src/java.desktop/macosx/native/libawt_lwawt/awt/AWTView.m

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#import "JavaTextAccessibility.h"
3232
#import "JavaAccessibilityUtilities.h"
3333
#import "GeomUtilities.h"
34-
#import "OSVersion.h"
3534
#import "ThreadUtilities.h"
3635
#import "JNIUtilities.h"
3736

@@ -56,10 +55,7 @@ -(NSMutableString *) parseString : (id) complexString;
5655
//#define EXTRA_DEBUG
5756

5857
static BOOL shouldUsePressAndHold() {
59-
static int shouldUsePressAndHold = -1;
60-
if (shouldUsePressAndHold != -1) return shouldUsePressAndHold;
61-
shouldUsePressAndHold = !isSnowLeopardOrLower();
62-
return shouldUsePressAndHold;
58+
return YES;
6359
}
6460

6561
@implementation AWTView

src/java.desktop/macosx/native/libawt_lwawt/awt/OSVersion.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/java.desktop/macosx/native/libawt_lwawt/awt/OSVersion.m

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)