mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
registry key usage, regexp applicability fixed
GitOrigin-RevId: 450c1dd404d9a174255523dbbf74e28b9f8bafe5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c61ed81471
commit
b932669549
@@ -47,7 +47,7 @@ public final class EventsWatcher implements Disposable {
|
||||
private static final long ourStartTimestamp = System.currentTimeMillis();
|
||||
@NotNull
|
||||
private static final NotNullLazyValue<Boolean> ourIsEnabled =
|
||||
NotNullLazyValue.createValue(() -> Registry.is("ide.event.queue.dispatch.enabled", false));
|
||||
NotNullLazyValue.createValue(() -> Registry.is("ide.event.queue.dispatch.log.enabled", false));
|
||||
@NotNull
|
||||
private static final NotNullLazyValue<Field> ourRunnableField =
|
||||
NotNullLazyValue.createValue(() -> Objects.requireNonNull(findTargetField(InvocationEvent.class)));
|
||||
@@ -159,9 +159,9 @@ public final class EventsWatcher implements Disposable {
|
||||
|
||||
public void edtEventStarted(@NotNull AWTEvent event) {
|
||||
Matcher matcher = DESCRIPTION_BY_EVENT.matcher(event.toString());
|
||||
//noinspection ResultOfMethodCallIgnored
|
||||
matcher.find();
|
||||
myCurrentResult = matcher.toMatchResult();
|
||||
myCurrentResult = matcher.find() ?
|
||||
matcher.toMatchResult() :
|
||||
null;
|
||||
}
|
||||
|
||||
public void edtEventFinished(@NotNull AWTEvent event,
|
||||
|
||||
@@ -971,7 +971,7 @@ inplace.rename.segments.limit=200
|
||||
emmet.segments.limit=50
|
||||
command.line.execution.timeout=30
|
||||
|
||||
ide.event.queue.dispatch.log.enabled=true
|
||||
ide.event.queue.dispatch.log.enabled=false
|
||||
ide.event.queue.dispatch.log.enabled.description=Log EDT events
|
||||
ide.event.queue.dispatch.log.enabled.restartRequired=true
|
||||
ide.event.queue.dispatch.threshold=10
|
||||
|
||||
Reference in New Issue
Block a user