[index] Filename/TypeIndex: clarify deprecation (IJSDK-232)

This commit is contained in:
Yann Cébron
2017-03-24 10:00:54 +01:00
parent 937df35ed4
commit ea9f1a40d1
2 changed files with 9 additions and 1 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2017 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.
@@ -29,6 +29,10 @@ import static com.intellij.psi.search.FilenameIndex.getService;
* @author Dmitry Avdeev
*/
public class FileTypeIndex {
/**
* @deprecated Not to be used.
*/
@Deprecated
public static final ID<FileType, Void> NAME = ID.create("filetypes");
@@ -40,6 +40,10 @@ import java.util.*;
* @author yole
*/
public class FilenameIndex {
/**
* @deprecated Not to be used.
*/
@Deprecated
public @NonNls static final ID<String, Void> NAME = ID.create("FilenameIndex");