mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
Fix typo 'speedup' when used as a verb
GitOrigin-RevId: 55935e091477ffbb538e9ea45fbec06b607d2f4e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5a97a7bbb3
commit
51433a2080
@@ -114,7 +114,7 @@ public abstract class SuspendContextImpl extends XSuspendContext implements Susp
|
|||||||
DebuggerManagerThreadImpl.assertIsManagerThread();
|
DebuggerManagerThreadImpl.assertIsManagerThread();
|
||||||
try {
|
try {
|
||||||
if (!Patches.IBM_JDK_DISABLE_COLLECTION_BUG) {
|
if (!Patches.IBM_JDK_DISABLE_COLLECTION_BUG) {
|
||||||
// delay enable collection to speedup the resume
|
// delay enable collection to speed up the resume
|
||||||
for (ObjectReference r : myKeptReferences) {
|
for (ObjectReference r : myKeptReferences) {
|
||||||
myDebugProcess.getManagerThread().schedule(PrioritizedTask.Priority.LOWEST, () -> DebuggerUtilsEx.enableCollection(r));
|
myDebugProcess.getManagerThread().schedule(PrioritizedTask.Priority.LOWEST, () -> DebuggerUtilsEx.enableCollection(r));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class ClassFilter implements JDOMExternalizable, Cloneable{
|
|||||||
@Attribute("include")
|
@Attribute("include")
|
||||||
public boolean INCLUDE = true;
|
public boolean INCLUDE = true;
|
||||||
|
|
||||||
private Matcher myMatcher; // to speedup matching
|
private Matcher myMatcher; // to speed up matching
|
||||||
|
|
||||||
public ClassFilter() {
|
public ClassFilter() {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
package org.jetbrains.intellij.build
|
package org.jetbrains.intellij.build
|
||||||
|
|
||||||
import com.intellij.util.SystemProperties
|
import com.intellij.util.SystemProperties
|
||||||
@@ -39,7 +39,7 @@ class BuildOptions {
|
|||||||
*/
|
*/
|
||||||
const val OS_NONE = "none"
|
const val OS_NONE = "none"
|
||||||
|
|
||||||
/** Pre-builds SVG icons for all SVG resource files to speedup icons loading at runtime */
|
/** Pre-builds SVG icons for all SVG resource files to speed up icons loading at runtime */
|
||||||
const val SVGICONS_PREBUILD_STEP = "svg_icons_prebuild"
|
const val SVGICONS_PREBUILD_STEP = "svg_icons_prebuild"
|
||||||
|
|
||||||
/** Build actual searchableOptions.xml file. If skipped; the (possibly outdated) source version of the file will be used. */
|
/** Build actual searchableOptions.xml file. If skipped; the (possibly outdated) source version of the file will be used. */
|
||||||
|
|||||||
@@ -1,25 +1,11 @@
|
|||||||
/*
|
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
* Copyright 2000-2015 JetBrains s.r.o.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
package com.intellij.configurationStore
|
package com.intellij.configurationStore
|
||||||
|
|
||||||
import com.intellij.configurationStore.xml.XmlElementStorageTest
|
import com.intellij.configurationStore.xml.XmlElementStorageTest
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
import org.junit.runners.Suite
|
import org.junit.runners.Suite
|
||||||
|
|
||||||
// All in package is very slow, so, we have to use Suite to speedup
|
// Testing 'All in package' is very slow, so we have to use a Suite to speed it up.
|
||||||
@RunWith(Suite::class)
|
@RunWith(Suite::class)
|
||||||
@Suite.SuiteClasses(
|
@Suite.SuiteClasses(
|
||||||
ApplicationStoreTest::class,
|
ApplicationStoreTest::class,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
package com.intellij.ide.util;
|
package com.intellij.ide.util;
|
||||||
|
|
||||||
import com.intellij.CommonBundle;
|
import com.intellij.CommonBundle;
|
||||||
@@ -146,7 +146,7 @@ public final class FileStructurePopup implements Disposable, TreeActionsOwner {
|
|||||||
myFileEditor = fileEditor;
|
myFileEditor = fileEditor;
|
||||||
myTreeModel = treeModel;
|
myTreeModel = treeModel;
|
||||||
|
|
||||||
//Stop code analyzer to speedup EDT
|
//Stop code analyzer to speed up the EDT
|
||||||
DaemonCodeAnalyzer.getInstance(myProject).disableUpdateByTimer(this);
|
DaemonCodeAnalyzer.getInstance(myProject).disableUpdateByTimer(this);
|
||||||
|
|
||||||
myTreeActionsOwner = new TreeStructureActionsOwner(myTreeModel);
|
myTreeActionsOwner = new TreeStructureActionsOwner(myTreeModel);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
package com.intellij.openapi.util.io;
|
package com.intellij.openapi.util.io;
|
||||||
|
|
||||||
import com.intellij.openapi.diagnostic.LoggerRt;
|
import com.intellij.openapi.diagnostic.LoggerRt;
|
||||||
@@ -115,7 +115,7 @@ public class FileUtilRt {
|
|||||||
if (separatorChar != '/') {
|
if (separatorChar != '/') {
|
||||||
path = path.replace(separatorChar, '/');
|
path = path.replace(separatorChar, '/');
|
||||||
}
|
}
|
||||||
// trying to speedup the common case when there are no "//" or "/."
|
// trying to speed up the common case when there are no "//" or "/."
|
||||||
int index = -1;
|
int index = -1;
|
||||||
do {
|
do {
|
||||||
index = path.indexOf('/', index+1);
|
index = path.indexOf('/', index+1);
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ debugger.field.pin.to.top=true
|
|||||||
debugger.jb.jdi=true
|
debugger.jb.jdi=true
|
||||||
debugger.jb.jdi.description=Use the new forked jdi implementation
|
debugger.jb.jdi.description=Use the new forked jdi implementation
|
||||||
debugger.async.jdi=true
|
debugger.async.jdi=true
|
||||||
debugger.async.jdi.description=Use async jdi to speedup jdwp communication
|
debugger.async.jdi.description=Use async jdi to speed up jdwp communication
|
||||||
debugger.async.frames=true
|
debugger.async.frames=true
|
||||||
debugger.merge.pause.and.resume=false
|
debugger.merge.pause.and.resume=false
|
||||||
debugger.merge.pause.and.resume.description=Merge "Pause" and "Resume" buttons on toolbar
|
debugger.merge.pause.and.resume.description=Merge "Pause" and "Resume" buttons on toolbar
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
package com.intellij.openapi.util;
|
package com.intellij.openapi.util;
|
||||||
|
|
||||||
import com.intellij.openapi.Disposable;
|
import com.intellij.openapi.Disposable;
|
||||||
@@ -250,7 +250,8 @@ final class ObjectNode {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A collection of child ObjectNodes.
|
* A collection of child ObjectNodes.
|
||||||
* Backed up either by an {@code ArrayList<ObjectNode>} (when the number of children is small) or {@code Map<Disposable, ObjectNode>} otherwise, to speedup lookup
|
* Backed either by an {@code ArrayList<ObjectNode>} (when the number of children is small)
|
||||||
|
* or {@code Map<Disposable, ObjectNode>} otherwise, to speed up the lookups.
|
||||||
*/
|
*/
|
||||||
private interface NodeChildren {
|
private interface NodeChildren {
|
||||||
@Nullable ObjectNode removeChildNode(@NotNull Disposable object);
|
@Nullable ObjectNode removeChildNode(@NotNull Disposable object);
|
||||||
|
|||||||
@@ -538,7 +538,7 @@
|
|||||||
<registryKey key="git.enable.stash.toolwindow" defaultValue="false"
|
<registryKey key="git.enable.stash.toolwindow" defaultValue="false"
|
||||||
description="Show toolwindow tab with stashes and shelves together"/>
|
description="Show toolwindow tab with stashes and shelves together"/>
|
||||||
<registryKey key="git.can.use.restore.command" defaultValue="true"
|
<registryKey key="git.can.use.restore.command" defaultValue="true"
|
||||||
description="Use 'git restore --staged --worktree --source=HEAD -- paths' instead of 'git reset --hard' to speedup worktree cleanup."/>
|
description="Use 'git restore --staged --worktree --source=HEAD -- paths' instead of 'git reset --hard' to speed up worktree cleanup."/>
|
||||||
<registryKey key="git.stage.separate.undo.stack" defaultValue="true"
|
<registryKey key="git.stage.separate.undo.stack" defaultValue="true"
|
||||||
description="Do not record stage operations in the undo stack of the document"/>
|
description="Do not record stage operations in the undo stack of the document"/>
|
||||||
<registryKey key="git.stage.navigate.to.index.file" defaultValue="false"
|
<registryKey key="git.stage.navigate.to.index.file" defaultValue="false"
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ public abstract class AbstractFieldProcessor extends AbstractProcessor implement
|
|||||||
|
|
||||||
final PsiClass psiClass = psiField.getContainingClass();
|
final PsiClass psiClass = psiField.getContainingClass();
|
||||||
if (null != psiClass) {
|
if (null != psiClass) {
|
||||||
//cache signatures to speedup editing of big files, where getName goes in psi tree
|
//cache signatures to speed up editing of big files, where getName goes in psi tree
|
||||||
List<MethodSignatureBackedByPsiMethod> ownSignatures = CachedValuesManager.getCachedValue(psiClass, () -> {
|
List<MethodSignatureBackedByPsiMethod> ownSignatures = CachedValuesManager.getCachedValue(psiClass, () -> {
|
||||||
List<MethodSignatureBackedByPsiMethod> signatures =
|
List<MethodSignatureBackedByPsiMethod> signatures =
|
||||||
ContainerUtil.map(PsiClassUtil.collectClassMethodsIntern(psiClass),
|
ContainerUtil.map(PsiClassUtil.collectClassMethodsIntern(psiClass),
|
||||||
|
|||||||
Reference in New Issue
Block a user