Merge remote-tracking branch 'origin/master'

This commit is contained in:
Ekaterina Tuzova
2012-09-14 15:43:43 +04:00
@@ -58,7 +58,7 @@ public class PyModuleFindUsagesHandler extends FindUsagesHandler {
}
@Override
public Collection<PsiReference> findReferencesToHighlight(PsiElement target, SearchScope searchScope) {
public Collection<PsiReference> findReferencesToHighlight(@NotNull PsiElement target, @NotNull SearchScope searchScope) {
if (target instanceof PyImportedModule) {
target = ((PyImportedModule) target).resolve();
}