From a44df9e8e7f78e6ec5ad51b8a4df10c3319b7ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 10 Sep 2019 12:12:29 +0200 Subject: [PATCH] PlainTextIndexer: implement IdIndexer directly GitOrigin-RevId: 48576ee699138e56abf490d478ac0838be19cd35 --- .../impl/cache/impl/id/PlainTextIndexer.java | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/platform/indexing-impl/src/com/intellij/psi/impl/cache/impl/id/PlainTextIndexer.java b/platform/indexing-impl/src/com/intellij/psi/impl/cache/impl/id/PlainTextIndexer.java index 9169c10a998b..c3fd5479e01d 100644 --- a/platform/indexing-impl/src/com/intellij/psi/impl/cache/impl/id/PlainTextIndexer.java +++ b/platform/indexing-impl/src/com/intellij/psi/impl/cache/impl/id/PlainTextIndexer.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2014 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-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. package com.intellij.psi.impl.cache.impl.id; import com.intellij.psi.search.UsageSearchContext; @@ -23,7 +9,7 @@ import org.jetbrains.annotations.Nullable; import java.util.Map; -public class PlainTextIndexer extends FileTypeIdIndexer { +public class PlainTextIndexer implements IdIndexer { @Override @NotNull public Map map(@NotNull final FileContent inputData) {