Small refactoring to remove warning
This commit is contained in:
@@ -36,8 +36,8 @@ public final class JetLookupObject {
|
|||||||
@Nullable
|
@Nullable
|
||||||
private final DeclarationDescriptor descriptor;
|
private final DeclarationDescriptor descriptor;
|
||||||
|
|
||||||
@Nullable
|
@NotNull
|
||||||
private ResolveSession resolveSession;
|
private final ResolveSession resolveSession;
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private final PsiElement psiElement;
|
private final PsiElement psiElement;
|
||||||
@@ -99,7 +99,7 @@ public final class JetLookupObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (psiElement != null && psiElement.equals(other.psiElement)) {
|
if (psiElement != null && psiElement.equals(other.psiElement)) {
|
||||||
// Warning here - why descriptors are not same???
|
LOG.warn("Different descriptors for same psi elements");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user