mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -393,7 +393,7 @@ public class JavaDocumentationProvider extends DocumentationProviderEx implement
|
||||
public Pair<PsiElement, PsiComment> parseContext(@NotNull PsiElement startPoint) {
|
||||
for (PsiElement e = startPoint; e != null; e = e.getParent()) {
|
||||
if (e instanceof PsiDocCommentOwner) {
|
||||
return Pair.<PsiElement, PsiComment>create(e, ((PsiDocCommentOwner)e).getDocComment());
|
||||
return Pair.create(e, ((PsiDocCommentOwner)e).getDocComment());
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
+1
-1
@@ -468,7 +468,7 @@ public class GroovyDocumentationProvider implements CodeDocumentationProvider, E
|
||||
public Pair<PsiElement, PsiComment> parseContext(@NotNull PsiElement startPoint) {
|
||||
for (PsiElement e = startPoint; e != null; e = e.getParent()) {
|
||||
if (e instanceof GrDocCommentOwner) {
|
||||
return Pair.<PsiElement, PsiComment>create(e, ((GrDocCommentOwner)e).getDocComment());
|
||||
return Pair.create(e, ((GrDocCommentOwner)e).getDocComment());
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user