mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
GitOrigin-RevId: f0cd4e748ecac8e91a8bf92fbd837133ae50f427
This commit is contained in:
committed by
intellij-monorepo-bot
parent
621c693873
commit
1fb19e9ece
@@ -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-2021 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.
|
||||
package com.intellij.testFramework;
|
||||
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
@@ -21,7 +21,7 @@ import java.util.concurrent.locks.ReadWriteLock;
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
import java.util.function.IntPredicate;
|
||||
|
||||
public class EmptyFileBasedIndex extends FileBasedIndexEx {
|
||||
public final class EmptyFileBasedIndex extends FileBasedIndexEx {
|
||||
@Override
|
||||
public void registerProjectFileSets(@NotNull Project project) {
|
||||
}
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2013 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.
|
||||
*/
|
||||
// Copyright 2000-2021 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.
|
||||
package com.intellij.util.containers;
|
||||
|
||||
import com.intellij.openapi.Disposable;
|
||||
@@ -24,7 +10,7 @@ import org.jetbrains.annotations.Nullable;
|
||||
import java.util.concurrent.locks.Lock;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
public class RecentStringInterner {
|
||||
public final class RecentStringInterner {
|
||||
private final int myStripeMask;
|
||||
private final SLRUCache<String, String>[] myInterns;
|
||||
private final Lock[] myStripeLocks;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<!--
|
||||
~ Copyright 2000-2019 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.
|
||||
-->
|
||||
|
||||
<idea-plugin>
|
||||
<id>com.intellij.tasks</id>
|
||||
<name>Task Management</name>
|
||||
@@ -107,7 +106,6 @@
|
||||
<projectService serviceInterface="com.intellij.tasks.TaskManager" serviceImplementation="com.intellij.tasks.impl.TaskManagerImpl"/>
|
||||
<postStartupActivity implementation="com.intellij.tasks.impl.TaskManagerImpl$Activity"/>
|
||||
<projectService serviceImplementation="com.intellij.tasks.impl.TaskProjectConfiguration"/>
|
||||
<applicationService serviceImplementation="com.intellij.tasks.config.RecentTaskRepositories"/>
|
||||
<applicationService serviceImplementation="com.intellij.tasks.config.PasswordConversionEnforcer" preload="notHeadless"/>
|
||||
<applicationService serviceImplementation="com.intellij.tasks.config.TaskSettings"/>
|
||||
<search.optionContributor implementation="com.intellij.tasks.config.TaskSearchableOptionContributor"/>
|
||||
@@ -149,5 +147,4 @@
|
||||
<vcs.changeListDecorator implementation="com.intellij.tasks.impl.TaskManagerDecorator"/>
|
||||
<notificationGroup id="Task Group" displayType="BALLOON"/>
|
||||
</extensions>
|
||||
|
||||
</idea-plugin>
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
// 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-2021 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.
|
||||
package com.intellij.tasks.config;
|
||||
|
||||
import com.intellij.openapi.Disposable;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.components.PersistentStateComponent;
|
||||
import com.intellij.openapi.components.State;
|
||||
import com.intellij.openapi.components.Storage;
|
||||
import com.intellij.openapi.components.*;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.tasks.TaskRepository;
|
||||
import com.intellij.tasks.TaskRepositoryType;
|
||||
@@ -23,7 +21,8 @@ import java.util.*;
|
||||
/**
|
||||
* @author Dmitry Avdeev
|
||||
*/
|
||||
@State(name = "RecentTaskRepositories", storages = @Storage("other.xml"))
|
||||
@State(name = "RecentTaskRepositories", storages = @Storage(StoragePathMacros.NON_ROAMABLE_FILE))
|
||||
@Service(Service.Level.APP)
|
||||
public final class RecentTaskRepositories implements PersistentStateComponent<Element>, Disposable {
|
||||
private final Set<TaskRepository> myRepositories = new ObjectOpenCustomHashSet<>(HASHING_STRATEGY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user