mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
delete unused exception class
This commit is contained in:
@@ -38,7 +38,7 @@ public class PyAnnotatingVisitor implements Annotator {
|
||||
private Set<? extends Class<? extends PyAnnotator>> _annotators;
|
||||
|
||||
public PyAnnotatingVisitor() {
|
||||
this._annotators = ((PythonLanguage) PythonFileType.INSTANCE.getLanguage()).getAnnotators();
|
||||
_annotators = ((PythonLanguage) PythonFileType.INSTANCE.getLanguage()).getAnnotators();
|
||||
}
|
||||
|
||||
public void annotate(PsiElement psiElement, AnnotationHolder holder) {
|
||||
@@ -54,10 +54,7 @@ public class PyAnnotatingVisitor implements Annotator {
|
||||
continue;
|
||||
}
|
||||
annotator.setHolder(holder);
|
||||
try {
|
||||
psiElement.accept(annotator);
|
||||
} catch (StopCurrentAnnotatorException e) {
|
||||
}
|
||||
psiElement.accept(annotator);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user