mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
dead code
This commit is contained in:
@@ -19,8 +19,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
* clone of JSExpressionCodeFragment
|
||||
*/
|
||||
public class PyExpressionCodeFragmentImpl extends PyFileImpl implements PyExpressionCodeFragment {
|
||||
public static Key<PsiElement> CONTEXT_KEY = new Key<PsiElement>("PyExpressionCodeFragmentContext");
|
||||
|
||||
private PsiElement myContext;
|
||||
private boolean myPhysical;
|
||||
private FileViewProvider myViewProvider;
|
||||
|
||||
@@ -195,12 +195,6 @@ public class PyPsiUtils {
|
||||
return element;
|
||||
}
|
||||
final PsiFile file = element.getContainingFile();
|
||||
if (file != null) {
|
||||
final PsiElement context = file.getCopyableUserData(PyExpressionCodeFragmentImpl.CONTEXT_KEY);
|
||||
if (context != null){
|
||||
return context;
|
||||
}
|
||||
}
|
||||
if (file instanceof PyExpressionCodeFragment) {
|
||||
final PsiElement context = file.getContext();
|
||||
if (LOG.isDebugEnabled()){
|
||||
|
||||
Reference in New Issue
Block a user