From 3d92be65dbbc7e6395caa548c3955a862e2bc0b4 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Mon, 6 Apr 2015 18:33:25 +0300 Subject: [PATCH] cleanup --- .../intellij/psi/search/searches/ReferencesSearch.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/platform/indexing-api/src/com/intellij/psi/search/searches/ReferencesSearch.java b/platform/indexing-api/src/com/intellij/psi/search/searches/ReferencesSearch.java index 3cc940611f26..20ee72a87f87 100644 --- a/platform/indexing-api/src/com/intellij/psi/search/searches/ReferencesSearch.java +++ b/platform/indexing-api/src/com/intellij/psi/search/searches/ReferencesSearch.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * 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. @@ -30,7 +30,7 @@ import org.jetbrains.annotations.Nullable; /** * Locates all references to a specified PSI element. * - * @see com.intellij.psi.PsiReference + * @see PsiReference * @author max */ public class ReferencesSearch extends ExtensibleQueryFactory { @@ -61,6 +61,7 @@ public class ReferencesSearch extends ExtensibleQueryFactory uniqueResults(@NotNull Query composite) { + private static Query uniqueResults(@NotNull Query composite) { return new UniqueResultsQuery(composite, ContainerUtil.canonicalStrategy(), ReferenceDescriptor.MAPPER); }